Skip to content

FIX: Allow max_shnot to be set (auto mode) #2940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions nipype/interfaces/mrtrix3/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def test_ResponseSD_inputs():
max_sh=dict(
argstr='-lmax %s',
sep=',',
usedefault=True,
),
mtt_file=dict(
argstr='%s',
Expand Down