We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c889e5 commit 7a42b63Copy full SHA for 7a42b63
nipype/interfaces/fsl/tests/test_preprocess.py
@@ -41,8 +41,7 @@ def test_bet(setup_infile):
41
# Test generated outfile name
42
better.inputs.in_file = tmp_infile
43
outfile = fsl_name(better, "foo_brain")
44
- outpath = os.path.join(os.getcwd(), outfile)
45
- realcmd = "bet %s %s" % (tmp_infile, outpath)
+ realcmd = "bet %s %s" % (tmp_infile, outfile)
46
assert better.cmdline == realcmd
47
# Test specified outfile name
48
outfile = fsl_name(better, "/newdata/bar")
@@ -79,12 +78,11 @@ def func():
79
78
# test each of our arguments
80
better = fsl.BET()
81
82
83
for name, settings in list(opt_map.items()):
84
better = fsl.BET(**{name: settings[1]})
85
# Add mandatory input
86
87
- realcmd = " ".join([better.cmd, tmp_infile, outpath, settings[0]])
+ realcmd = " ".join([better.cmd, tmp_infile, outfile, settings[0]])
88
89
90
0 commit comments