Skip to content
Snippets Groups Projects
Commit 32d93773 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Acknowledge that --wls and --kurtdir flags can not both be set

parent dc4656b6
No related branches found
No related tags found
No related merge requests found
...@@ -127,6 +127,9 @@ def fit_data(directory): ...@@ -127,6 +127,9 @@ def fit_data(directory):
for kurtdir in (False, True): for kurtdir in (False, True):
for main_kurt in (False, True): for main_kurt in (False, True):
for wls in (False, True): # in this noise-free data the --wls flag should not matter for wls in (False, True): # in this noise-free data the --wls flag should not matter
if wls and kurtdir:
# weighted least square not implemented for kurtdir
continue
cmd = [ cmd = [
'dtifit', 'dtifit',
'-k', f'{directory}/ref_data.nii.gz', '-k', f'{directory}/ref_data.nii.gz',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment