Skip to content

Commit ab4aa02

Browse files
committed
fix: fast error
1 parent 725b738 commit ab4aa02

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ def _gen_fname(self, name):
15711571
path, outname, ext = split_filename(self.inputs.out_file)
15721572

15731573
method = 'none'
1574-
if isdefined(self.inputs.method) and self.inputs.method == 'fast':
1574+
if isdefined(self.inputs.method) and self.inputs.method != 'none':
15751575
method = 'fast'
15761576

15771577
if isdefined(self.inputs.method_as_numerical_threshold):

nipype/interfaces/fsl/tests/test_preprocess.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,3 +564,8 @@ def test_fugue():
564564
yield assert_equal, op.basename(res.outputs.unwarped_file), out_name
565565

566566
teardown_fugue(tmpdir)
567+
568+
569+
@skipif(no_fsl)
570+
def test_first_genfname:
571+

0 commit comments

Comments
 (0)