Skip to content

Commit 899146d

Browse files
committed
Added 'in_file_c' to the CalcInputSpec for secondary operand files.
1 parent c8cd16b commit 899146d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,8 @@ class VolregInputSpec(AFNICommandInputSpec):
566566
oned_file = File(name_template='%s.1D', desc='1D movement parameters output file',
567567
argstr='-1Dfile %s',
568568
name_source="in_file",
569-
keep_extension=True)
569+
keep_extension=True,
570+
position=-3)
570571
verbose = traits.Bool(desc='more detailed description of the process',
571572
argstr='-verbose')
572573
timeshift = traits.Bool(desc='time shift to mean slice time offset',
@@ -1468,9 +1469,11 @@ class CalcInputSpec(AFNICommandInputSpec):
14681469
argstr='-a %s', position=0, mandatory=True, exists=True)
14691470
in_file_b = File(desc='operand file to 3dcalc',
14701471
argstr=' -b %s', position=1, exists=True)
1472+
in_file_c = File(desc='operand file to 3dcalc',
1473+
argstr=' -c %s', position=2, exists=True)
14711474
out_file = File(name_template="%s_calc", desc='output image file name',
14721475
argstr='-prefix %s', name_source="in_file_a")
1473-
expr = traits.Str(desc='expr', argstr='-expr "%s"', position=2,
1476+
expr = traits.Str(desc='expr', argstr='-expr "%s"', position=3,
14741477
mandatory=True)
14751478
start_idx = traits.Int(desc='start index for in_file_a',
14761479
requires=['stop_idx'])

0 commit comments

Comments
 (0)