Skip to content

Commit 4e8e419

Browse files
committed
added prefix/suffix deprecation info
1 parent 0451e2c commit 4e8e419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/afni/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def _gen_fname(self, basename, cwd=None, suffix='_afni', change_ext=True, prefix
191191
class AFNIPrefixInputSpec(AFNITraitedSpec):
192192
out_file = File("%s_afni", desc='output image file name',
193193
argstr='-prefix %s', xor=['out_file', 'prefix', 'suffix'], name_source="in_file", usedefault=True)
194-
prefix = traits.Str(desc='output image prefix')
195-
suffix = traits.Str(desc='output image suffix')
194+
prefix = traits.Str(desc='output image prefix', deprecated=0.8, new_name="out_file")
195+
suffix = traits.Str(desc='output image suffix', deprecated=0.8, new_name="out_file")
196196

197197
class AFNIPrefixCommand(AFNICommand):
198198
input_spec = AFNIPrefixInputSpec

0 commit comments

Comments
 (0)