Skip to content

Commit 07151c4

Browse files
committed
Fixed error forming an extension of a filename
1 parent 4387136 commit 07151c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def _run_interface( self, runtime ):
481481
fname,ext = op.splitext( op.basename( self.inputs.in_tst ) )
482482
if ext=='.gz':
483483
fname,ext2 = op.splitext( fname )
484-
ext = ext + ext2
484+
ext = ext2 + ext
485485
self._out_file = op.abspath( fname + "_errmap" + ext )
486486
else:
487487
self._out_file = self.inputs.out_map

0 commit comments

Comments
 (0)