Skip to content

Commit 8d76fd2

Browse files
committed
remove genfile from out_file of TSmooth and fix order of arguments in command line of 3dTsmooth
1 parent 0a05ce9 commit 8d76fd2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2865,8 +2865,7 @@ class TSmoothInputSpec(AFNICommandInputSpec):
28652865
name_template='%s_smooth',
28662866
desc='output file from 3dTSmooth',
28672867
argstr='-prefix %s',
2868-
name_source='in_file',
2869-
genfile=True)
2868+
name_source='in_file')
28702869
datum = traits.Str(
28712870
desc='Sets the data type of the output dataset',
28722871
argstr='-datum %s')
@@ -2918,7 +2917,7 @@ class TSmooth(AFNICommand):
29182917
>>> smooth.inputs.in_file = 'functional.nii'
29192918
>>> smooth.inputs.adaptive = 5
29202919
>>> smooth.cmdline
2921-
'3dTsmooth -prefix functional_smooth -adaptive 5 functional.nii'
2920+
'3dTsmooth -adaptive 5 -prefix functional_smooth functional.nii'
29222921
>>> res = smooth.run() # doctest: +SKIP
29232922
29242923
"""

0 commit comments

Comments
 (0)