Skip to content

Commit 9fb7730

Browse files
committed
fixing one assert in test_math
1 parent bb24c59 commit 9fb7730

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nipype/interfaces/fsl/tests/test_maths.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,8 @@ def test_stdimage(create_files_in_directory):
207207
assert stder.cmdline == cmdline%dim
208208

209209
# Test the auto naming
210-
stder = fsl.StdImage(in_file="a.nii")
211-
#NOTE_dj, FAIL: this is failing (even the original version of the test with pytest)
212-
#NOTE_dj: not sure if this should pass, it uses cmdline from interface.base.CommandLine
213-
#assert stder.cmdline == "fslmaths a.nii -Tstd %s"%os.path.join(testdir, "a_std.nii")
210+
stder = fsl.StdImage(in_file="a.nii", output_type='NIFTI')
211+
assert stder.cmdline == "fslmaths a.nii -Tstd %s"%os.path.join(testdir, "a_std.nii")
214212

215213

216214
@pytest.mark.skipif(no_fsl(), reason="fsl is not installed")

0 commit comments

Comments
 (0)