diff --git a/nipype/interfaces/mrtrix3/reconst.py b/nipype/interfaces/mrtrix3/reconst.py index f1e9c604d2..9b42f1bbcd 100644 --- a/nipype/interfaces/mrtrix3/reconst.py +++ b/nipype/interfaces/mrtrix3/reconst.py @@ -6,7 +6,7 @@ import os.path as op -from ..base import traits, TraitedSpec, File, Undefined +from ..base import traits, TraitedSpec, File, Undefined, InputMultiObject from .base import MRTrix3BaseInputSpec, MRTrix3Base @@ -115,10 +115,13 @@ class EstimateFODInputSpec(MRTrix3BaseInputSpec): sep=',', argstr='-shell %s', desc='specify one or more dw gradient shells') - max_sh = traits.Int( - 8, usedefault=True, + max_sh = InputMultiObject( + traits.Int, + value=[8], + usedefault=True, argstr='-lmax %d', - desc='maximum harmonic degree of response function') + sep=',', + desc=('maximum harmonic degree of response function - single value for single-shell response, list for multi-shell response')) in_dirs = File( exists=True, argstr='-directions %s',