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.
2 parents 15a3c15 + 845463d commit 23379ebCopy full SHA for 23379eb
nipype/interfaces/afni/utils.py
@@ -619,8 +619,9 @@ class CatMatvec(AFNICommand):
619
620
def _format_arg(self, name, spec, value):
621
if name == 'in_file':
622
- return spec.argstr % (' '.join([i[0] + ' -' + i[1]
623
- for i in value]))
+ # Concatenate a series of filenames, with optional opkeys
+ return ' '.join('%s -%s' % (mfile, opkey) if opkey else mfile
624
+ for mfile, opkey in value)
625
return super(CatMatvec, self)._format_arg(name, spec, value)
626
627
0 commit comments