Skip to content

Commit 6071c94

Browse files
authored
Merge pull request #2892 from hstojic/patch-AFNI-utils-MaskTool
ENH: Allow afni.MaskTool to take multiple input files
2 parents a3f5115 + 7d4af09 commit 6071c94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/afni/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1636,12 +1636,12 @@ def _format_arg(self, name, spec, value):
16361636

16371637

16381638
class MaskToolInputSpec(AFNICommandInputSpec):
1639-
in_file = File(
1639+
in_file = InputMultiPath(
1640+
File(exists=True),
16401641
desc='input file or files to 3dmask_tool',
16411642
argstr='-input %s',
16421643
position=-1,
16431644
mandatory=True,
1644-
exists=True,
16451645
copyfile=False)
16461646
out_file = File(
16471647
name_template='%s_mask',

0 commit comments

Comments
 (0)