Skip to content

Commit 64e01c3

Browse files
authored
FIX: Allow max_shnot to be set (auto mode)
For further information and why it can be left unset see http://community.mrtrix.org/t/lmax-for-dwi2response-and-dwi2fod/1099/4 cc / @oesteban
1 parent 460c1bb commit 64e01c3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nipype/interfaces/mrtrix3/preprocess.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
276276
exists=True, argstr='-mask %s', desc='provide initial mask image')
277277
max_sh = InputMultiObject(
278278
traits.Int,
279-
value=[8],
280-
usedefault=True,
281279
argstr='-lmax %s',
282280
sep=',',
283281
desc=('maximum harmonic degree of response function - single value for '
@@ -303,7 +301,7 @@ class ResponseSD(MRTrix3Base):
303301
>>> resp.inputs.algorithm = 'tournier'
304302
>>> resp.inputs.grad_fsl = ('bvecs', 'bvals')
305303
>>> resp.cmdline # doctest: +ELLIPSIS
306-
'dwi2response tournier -fslgrad bvecs bvals -lmax 8 dwi.mif wm.txt'
304+
'dwi2response tournier -fslgrad bvecs bvals dwi.mif wm.txt'
307305
>>> resp.run() # doctest: +SKIP
308306
309307
# We can also pass in multiple harmonic degrees in the case of multi-shell

0 commit comments

Comments
 (0)