Skip to content

Commit 6a7ce32

Browse files
committed
fix: include name_source and name_template for mergefile in fsl.Merge input_spec
1 parent 96c79c9 commit 6a7ce32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class MergeInputSpec(FSLCommandInputSpec):
136136
mandatory=True)
137137
tr = traits.Float(position=-1, argstr='%.2f',
138138
desc='use to specify TR if dimension is set to tr')
139-
merged_file = File(argstr="%s", position=1, genfile=True, hash_files=False)
139+
merged_file = File(argstr="%s", position=1, name_source='in_files', name_template='%s_merged', hash_files=False)
140140

141141

142142
class MergeOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)