File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -283,14 +283,14 @@ class N4BiasFieldCorrection(ANTSCommand):
283
283
--shrink-factor 3'
284
284
285
285
>>> n4_2 = copy.deepcopy(n4)
286
- >>> n4 .inputs.convergence_threshold = 1e-6
286
+ >>> n4_2 .inputs.convergence_threshold = 1e-6
287
287
>>> n4_2.cmdline
288
288
'N4BiasFieldCorrection --bspline-fitting [ 300 ] \
289
289
-d 3 --input-image structural.nii \
290
290
--convergence [ 50x50x30x20, 1e-06 ] --output structural_corrected.nii \
291
291
--shrink-factor 3'
292
292
293
- >>> n4_3 = copy.deepcopy(n4 )
293
+ >>> n4_3 = copy.deepcopy(n4_2 )
294
294
>>> n4_3.inputs.bspline_order = 5
295
295
>>> n4_3.cmdline
296
296
'N4BiasFieldCorrection --bspline-fitting [ 300, 5 ] \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def test_N4BiasFieldCorrection_inputs():
13
13
),
14
14
convergence_threshold = dict (requires = ['n_iterations' ],
15
15
),
16
- dimension = dict (argstr = '--image-dimension %d' ,
16
+ dimension = dict (argstr = '-d %d' ,
17
17
usedefault = True ,
18
18
),
19
19
environ = dict (nohash = True ,
@@ -28,7 +28,6 @@ def test_N4BiasFieldCorrection_inputs():
28
28
mask_image = dict (argstr = '--mask-image %s' ,
29
29
),
30
30
n_iterations = dict (argstr = '--convergence %s' ,
31
- requires = ['convergence_threshold' ],
32
31
),
33
32
num_threads = dict (nohash = True ,
34
33
usedefault = True ,
You can’t perform that action at this time.
0 commit comments