Skip to content

Commit fd224fb

Browse files
author
David Ellis
committed
FIX: Fixes failing doctests for freesurfer MNIBiasCorrection.
1 parent eee9148 commit fd224fb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ class MNIBiasCorrection(FSCommand):
14171417
>>> correct.inputs.protocol_iterations = 1000
14181418
>>> correct.inputs.distance = 50
14191419
>>> correct.cmdline
1420-
'mri_nu_correct.mni --distance 50 --i norm.mgz --n 6 --o out_output.mgz --proto-iters 1000'
1420+
'mri_nu_correct.mni --distance 50 --i norm.mgz --n 6 --o norm_output.mgz --proto-iters 1000'
14211421
14221422
References:
14231423
----------

nipype/interfaces/freesurfer/tests/test_auto_MNIBiasCorrection.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,25 @@ def test_MNIBiasCorrection_inputs():
2020
iterations=dict(argstr='--n %d',
2121
),
2222
mask=dict(argstr='--mask %s',
23-
mandatory=False,
2423
),
2524
no_rescale=dict(argstr='--no-rescale',
2625
),
2726
out_file=dict(argstr='--o %s',
2827
hash_files=False,
2928
keep_extension=True,
30-
mandatory=False,
3129
name_source=['in_file'],
3230
name_template='%s_output',
3331
),
3432
protocol_iterations=dict(argstr='--proto-iters %d',
3533
),
3634
shrink=dict(argstr='--shrink %d',
37-
mandatory=False,
3835
),
3936
stop=dict(argstr='--stop %f',
40-
mandatory=False,
4137
),
4238
subjects_dir=dict(),
4339
terminal_output=dict(nohash=True,
4440
),
4541
transform=dict(argstr='--uchar %s',
46-
mandatory=False,
4742
),
4843
)
4944
inputs = MNIBiasCorrection.input_spec()

0 commit comments

Comments
 (0)