Commit 8ff66716 authored by William Clarke's avatar William Clarke
Browse files

Fix bug for dynamic initilise with 'none' metabe groups.

parent 98a791f3
......@@ -144,6 +144,10 @@ class dynMRS(object):
"""
if verbose:
start_time = time.time()
if metab_groups is None:
metab_groups = [0] * len(self.mrs_list[0].names)
FitArgs = {'model': model,
'metab_groups': metab_groups,
'ppmlim': ppmlim,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment