Skip to content

Commit ca18a38

Browse files
committed
Format as float, force_tr must precede input
1 parent d79f2cc commit ca18a38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/interfaces/afni/model.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
3636
argstr='-input %s',
3737
copyfile=False,
3838
sep=" ",
39-
position=0)
39+
position=1)
4040
sat = traits.Bool(
4141
desc='check the dataset time series for initial saturation transients,'
4242
' which should normally have been excised before data analysis.',
@@ -60,7 +60,8 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
6060
force_TR = traits.Float(
6161
desc='use this value instead of the TR in the \'input\' '
6262
'dataset. (It\'s better to fix the input using Refit.)',
63-
argstr='-force_TR %d')
63+
argstr='-force_TR %f',
64+
position=0)
6465
input1D = File(
6566
desc='filename of single (fMRI) .1D time series where time runs down '
6667
'the column.',

0 commit comments

Comments
 (0)