File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ def _list_outputs(self):
101
101
102
102
103
103
class BEDPOSTXInputSpec (FSLXCommandInputSpec ):
104
- gradnonlin = File ( exists = True , argstr = '--gradnonlin=%s' ,
105
- desc = 'consider gradient nonlinearities, default off' )
104
+ gradnonlin = traits . Bool ( False , argstr = '-g' , desc = ( 'consider gradient '
105
+ ' nonlinearities, default off') )
106
106
107
107
108
108
class BEDPOSTX (FSLXCommand ):
@@ -138,12 +138,18 @@ class BEDPOSTX(FSLXCommand):
138
138
_can_resume = True
139
139
140
140
141
+ class XFibresInputSpec (FSLXCommandInputSpec ):
142
+ gradnonlin = File (exists = True , argstr = '--gradnonlin=%s' ,
143
+ desc = 'gradient file corresponding to slice' )
144
+
145
+
141
146
class XFibres (FSLXCommand ):
142
147
"""
143
- Perform model parameters estimation for local (voxelwise) diffusion parameters
148
+ Perform model parameters estimation for local (voxelwise) diffusion
149
+ parameters
144
150
"""
145
151
_cmd = 'xfibres'
146
- input_spec = FSLXCommandInputSpec
152
+ input_spec = XFibresInputSpec
147
153
output_spec = FSLXCommandOutputSpec
148
154
149
155
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def test_BEDPOSTX_inputs():
38
38
),
39
39
fudge = dict (argstr = '--fudge=%d' ,
40
40
),
41
- gradnonlin = dict (argstr = '--gradnonlin=%s ' ,
41
+ gradnonlin = dict (argstr = '-g ' ,
42
42
),
43
43
ignore_exception = dict (nohash = True ,
44
44
usedefault = True ,
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ def test_XFibres_inputs():
38
38
),
39
39
fudge = dict (argstr = '--fudge=%d' ,
40
40
),
41
+ gradnonlin = dict (argstr = '--gradnonlin=%s' ,
42
+ ),
41
43
ignore_exception = dict (nohash = True ,
42
44
usedefault = True ,
43
45
),
You can’t perform that action at this time.
0 commit comments