Skip to content

Commit c3de069

Browse files
author
Alexander Schaefer
committed
3drefit does not accept -prefix option, since it operates on its own file
now it will work if you give the same out_file name as in_file name however if you give no out filename it might not work if your infile is a .nii or .nii.gz since afni will make briks
1 parent 14cf453 commit c3de069

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ class RefitInputSpec(AFNICommandInputSpec):
166166
exists=True,
167167
copyfile=True)
168168

169-
out_file = File("%s_refit", desc='output image file name',
170-
argstr='-prefix %s', name_source="in_file", usedefault=True)
169+
out_file = File("%s_refit", desc='output image file name, should be the same as input',
170+
argstr='%s', name_source="in_file", usedefault=True)
171171

172172
deoblique = traits.Bool(desc='replace current transformation' +
173173
' matrix with cardinal matrix',

0 commit comments

Comments
 (0)