File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,9 @@ class TOPUPInputSpec(FSLCommandInputSpec):
221221 5 , usedefault = True ,
222222 argstr = '--miter=%d' , desc = 'max # of non-linear iterations' )
223223 reg_lambda = traits .Float (
224- 1.0 , usedefault = True ,
225- argstr = '--miter=%0.f' ,
226- desc = ('lambda weighting value of the '
227- 'regularisation term' ))
224+ argstr = '--lambda=%0.f' ,
225+ desc = ('Weight of regularisation, default '
226+ 'depending on --ssqlambda and --regmod switches.' ))
228227 ssqlambda = traits .Enum (
229228 1 ,
230229 0 ,
@@ -324,8 +323,7 @@ class TOPUP(FSLCommand):
324323 --fwhm=8.000000 --imain=b0_b0rev.nii --miter=5 \
325324 --out=b0_b0rev_base --iout=b0_b0rev_corrected.nii.gz \
326325 --fout=b0_b0rev_field.nii.gz --jacout=jac --logout=b0_b0rev_topup.log \
327- --rbmout=xfm --dfout=warpfield --miter=1 --splineorder=3 --subsamp=1 \
328- --warpres=10.000000'
326+ --rbmout=xfm --dfout=warpfield --splineorder=3 --subsamp=1 --warpres=10.000000'
329327 >>> res = topup.run() # doctest: +SKIP
330328
331329 """
Original file line number Diff line number Diff line change @@ -87,10 +87,7 @@ def test_TOPUP_inputs():
8787 requires = ['encoding_direction' ],
8888 xor = ['encoding_file' ],
8989 ),
90- reg_lambda = dict (
91- argstr = '--miter=%0.f' ,
92- usedefault = True ,
93- ),
90+ reg_lambda = dict (argstr = '--lambda=%0.f' , ),
9491 regmod = dict (argstr = '--regmod=%s' , ),
9592 regrid = dict (argstr = '--regrid=%d' , ),
9693 scale = dict (argstr = '--scale=%d' , ),
You can’t perform that action at this time.
0 commit comments