@@ -76,7 +76,7 @@ def _list_outputs(self):
76
76
class EstimateFODInputSpec (MRTrix3BaseInputSpec ):
77
77
algorithm = traits .Enum ('csd' ,'msmt_csd' , argstr = '%s' , position = - 8 ,
78
78
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 ,
80
80
mandatory = True , desc = 'input DWI image' )
81
81
wm_txt = File (argstr = '%s' , position = - 6 ,
82
82
mandatory = True , desc = 'WM response text file' )
@@ -118,7 +118,7 @@ class EstimateFOD(MRTrix3Base):
118
118
>>> import nipype.interfaces.mrtrix3 as mrt
119
119
>>> fod = mrt.EstimateFOD()
120
120
>>> fod.inputs.algorithm = 'csd'
121
- >>> fod.inputs.dwi_file = 'dwi.mif'
121
+ >>> fod.inputs.in_file = 'dwi.mif'
122
122
>>> fod.inputs.wm_txt = 'wm.txt'
123
123
>>> fod.inputs.grad_fsl = ('bvecs', 'bvals')
124
124
>>> fod.cmdline # doctest: +ELLIPSIS
@@ -133,9 +133,9 @@ class EstimateFOD(MRTrix3Base):
133
133
def _list_outputs (self ):
134
134
outputs = self .output_spec ().get ()
135
135
outputs ['wm_odf' ] = op .abspath (self .inputs .wm_odf )
136
- if self .inputs .gm_odf != Undefined :
136
+ if self .inputs .gm_odf != Undefined :
137
137
outputs ['gm_odf' ] = op .abspath (self .inputs .gm_odf )
138
- if self .inputs .csf_odf != Undefined :
138
+ if self .inputs .csf_odf != Undefined :
139
139
outputs ['csf_odf' ] = op .abspath (self .inputs .csf_odf )
140
140
return outputs
141
141
0 commit comments