File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
nipype/interfaces/fsl/tests Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -207,10 +207,8 @@ def test_stdimage(create_files_in_directory):
207
207
assert stder .cmdline == cmdline % dim
208
208
209
209
# 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" )
214
212
215
213
216
214
@pytest .mark .skipif (no_fsl (), reason = "fsl is not installed" )
You can’t perform that action at this time.
0 commit comments