@@ -76,7 +76,7 @@ def _list_outputs(self):
7676class EstimateFODInputSpec (MRTrix3BaseInputSpec ):
7777 algorithm = traits .Enum ('csd' ,'msmt_csd' , argstr = '%s' , position = - 8 ,
7878 mandatory = True , desc = 'FOD algorithm' )
79- dwi_file = File (exists = True , argstr = '%s' , position = - 7 ,
79+ in_file = File (exists = True , argstr = '%s' , position = - 7 ,
8080 mandatory = True , desc = 'input DWI image' )
8181 wm_txt = File (argstr = '%s' , position = - 6 ,
8282 mandatory = True , desc = 'WM response text file' )
@@ -118,7 +118,7 @@ class EstimateFOD(MRTrix3Base):
118118 >>> import nipype.interfaces.mrtrix3 as mrt
119119 >>> fod = mrt.EstimateFOD()
120120 >>> fod.inputs.algorithm = 'csd'
121- >>> fod.inputs.dwi_file = 'dwi.mif'
121+ >>> fod.inputs.in_file = 'dwi.mif'
122122 >>> fod.inputs.wm_txt = 'wm.txt'
123123 >>> fod.inputs.grad_fsl = ('bvecs', 'bvals')
124124 >>> fod.cmdline # doctest: +ELLIPSIS
@@ -133,9 +133,9 @@ class EstimateFOD(MRTrix3Base):
133133 def _list_outputs (self ):
134134 outputs = self .output_spec ().get ()
135135 outputs ['wm_odf' ] = op .abspath (self .inputs .wm_odf )
136- if self .inputs .gm_odf != Undefined :
136+ if self .inputs .gm_odf != Undefined :
137137 outputs ['gm_odf' ] = op .abspath (self .inputs .gm_odf )
138- if self .inputs .csf_odf != Undefined :
138+ if self .inputs .csf_odf != Undefined :
139139 outputs ['csf_odf' ] = op .abspath (self .inputs .csf_odf )
140140 return outputs
141141
0 commit comments