diff --git a/nipype/interfaces/mrtrix3/preprocess.py b/nipype/interfaces/mrtrix3/preprocess.py index 99c6c4fb03..2be3e532b4 100644 --- a/nipype/interfaces/mrtrix3/preprocess.py +++ b/nipype/interfaces/mrtrix3/preprocess.py @@ -276,8 +276,6 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec): exists=True, argstr='-mask %s', desc='provide initial mask image') max_sh = InputMultiObject( traits.Int, - value=[8], - usedefault=True, argstr='-lmax %s', sep=',', desc=('maximum harmonic degree of response function - single value for ' @@ -303,7 +301,7 @@ class ResponseSD(MRTrix3Base): >>> resp.inputs.algorithm = 'tournier' >>> resp.inputs.grad_fsl = ('bvecs', 'bvals') >>> resp.cmdline # doctest: +ELLIPSIS - 'dwi2response tournier -fslgrad bvecs bvals -lmax 8 dwi.mif wm.txt' + 'dwi2response tournier -fslgrad bvecs bvals dwi.mif wm.txt' >>> resp.run() # doctest: +SKIP # We can also pass in multiple harmonic degrees in the case of multi-shell diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py b/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py index 027527ec85..f4b4660d78 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py @@ -37,7 +37,6 @@ def test_ResponseSD_inputs(): max_sh=dict( argstr='-lmax %s', sep=',', - usedefault=True, ), mtt_file=dict( argstr='%s',