Skip to content

Commit 6c60c58

Browse files
committed
fix tests
1 parent 2d10e28 commit 6c60c58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/freesurfer/tests/test_preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_mandatory_outvol(create_files_in_directory):
105105
ext = ext2 + ext
106106

107107
assert mni.cmdline == (
108-
'mri_nu_correct.mni --i %s --o %s_output.%s' % (filelist[0], base, ext))
108+
'mri_nu_correct.mni --i %s --o %s_output%s' % (filelist[0], base, ext))
109109

110110
# test with custom outfile
111111
mni.inputs.out_file = 'new_corrected_file.mgz'
@@ -116,5 +116,5 @@ def test_mandatory_outvol(create_files_in_directory):
116116
mni2 = freesurfer.MNIBiasCorrection(in_file=filelist[0],
117117
out_file='bias_corrected_output',
118118
iterations=4)
119-
assert mni2.cmdline == ('mri_nu_correct.mni --i %s --n 4 --o bias_corrected_output.%s'
119+
assert mni2.cmdline == ('mri_nu_correct.mni --i %s --n 4 --o bias_corrected_output%s'
120120
% (filelist[0], ext))

0 commit comments

Comments
 (0)