Skip to content

Commit 79c4fdd

Browse files
committed
Merge pull request #527 from miykael/patch-2
buildtemplateparallel.sh - issue with input files
2 parents 3c780cf + 2ff28c4 commit 79c4fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/legacy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _format_arg(self, opt, spec, val):
213213
start = '-z '
214214
else:
215215
start = ''
216-
return start + ' '.join([os.path.split(name)[1] for name in val])
216+
return start + ' '.join(name for name in val)
217217
return super(buildtemplateparallel, self)._format_arg(opt, spec, val)
218218

219219
def _list_outputs(self):

0 commit comments

Comments
 (0)