File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
nipype/interfaces/freesurfer/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,13 @@ def test_mandatory_outvol(create_files_in_directory):
138
138
# test with custom outfile
139
139
mni .inputs .out_file = 'new_corrected_file.mgz'
140
140
assert mni .cmdline == (
141
- 'mri_nu_correct.mni --i %s --o new_corrected_file.mgz' % (filelist [0 ]))
141
+ 'mri_nu_correct.mni --i %s --n 4 -- o new_corrected_file.mgz' % (filelist [0 ]))
142
142
143
143
# constructor based tests
144
144
mni2 = freesurfer .MNIBiasCorrection (
145
- in_file = filelist [0 ], out_file = 'bias_corrected_output' , iterations = 4 )
145
+ in_file = filelist [0 ], out_file = 'bias_corrected_output' , iterations = 2 )
146
146
assert mni2 .cmdline == (
147
- 'mri_nu_correct.mni --i %s --n 4 --o bias_corrected_output' %
147
+ 'mri_nu_correct.mni --i %s --n 2 --o bias_corrected_output' %
148
148
filelist [0 ])
149
149
150
150
You can’t perform that action at this time.
0 commit comments