File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1510,6 +1510,7 @@ class MNIBiasCorrection(FSCommand):
1510
1510
>>> from nipype.interfaces.freesurfer import MNIBiasCorrection
1511
1511
>>> correct = MNIBiasCorrection()
1512
1512
>>> correct.inputs.in_file = "norm.mgz"
1513
+ >>> correct.inputs.out_file = "norm_output.mgz"
1513
1514
>>> correct.inputs.iterations = 6
1514
1515
>>> correct.inputs.protocol_iterations = 1000
1515
1516
>>> correct.inputs.distance = 50
Original file line number Diff line number Diff line change @@ -102,11 +102,11 @@ def test_mandatory_outvol(create_files_in_directory):
102
102
with pytest .raises (ValueError ): mni .run ()
103
103
104
104
# rest of mandatory inputs
105
- mni .inputs .out_file = 'bias_corrected_file '
105
+ mni .inputs .out_file = 'bias_corrected_output '
106
106
107
- assert mni .cmdline == ('mri_nu_correct.mni --i %s --n 4 --o bias_corrected_file .mgz'
107
+ assert mni .cmdline == ('mri_nu_correct.mni --i %s --n 4 --o bias_corrected_output .mgz'
108
108
% filelist [0 ])
109
109
# constructor based tests
110
- mni2 = freesurfer .MNIBiasCorrection (in_file = filelist [0 ], out_file = 'bias_corrected_file ' )
111
- assert mni2 .cmdline == ('mri_nu_correct.mni --i %s --n 4 --o bias_corrected_file .mgz'
110
+ mni2 = freesurfer .MNIBiasCorrection (in_file = filelist [0 ], out_file = 'bias_corrected_output ' )
111
+ assert mni2 .cmdline == ('mri_nu_correct.mni --i %s --n 4 --o bias_corrected_output .mgz'
112
112
% filelist [0 ])
You can’t perform that action at this time.
0 commit comments