Skip to content

Commit 5d1961c

Browse files
committed
Merge pull request #357 from chrisfilo/fix/afni_files
added missing "exists" parameters, removed extra "other" inputs
2 parents 2c9c742 + 056a903 commit 5d1961c

File tree

3 files changed

+83
-83
lines changed

3 files changed

+83
-83
lines changed

nipype/interfaces/afni/base.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
class Info(object):
2222
"""Handle afni output type and version information.
2323
"""
24-
__outputtype = 'NIFTI_GZ'
24+
__outputtype = 'AFNI'
2525
ftypes = {'NIFTI': '.nii',
26-
'AFNI': '.BRIK',
26+
'AFNI': '+orig.BRIK',
2727
'NIFTI_GZ': '.nii.gz'}
2828

2929
@staticmethod
@@ -69,7 +69,7 @@ def outputtype_to_ext(cls, outputtype):
6969
def outputtype(cls):
7070
"""AFNI has no environment variables,
7171
Output filetypes get set in command line calls
72-
Nipype uses NIFTI_GZ as default
72+
Nipype uses AFNI as default
7373
7474
7575
Returns
@@ -78,7 +78,7 @@ def outputtype(cls):
7878
"""
7979
#warn(('AFNI has no environment variable that sets filetype '
8080
# 'Nipype uses NIFTI_GZ as default'))
81-
return 'NIFTI_GZ'
81+
return 'AFNI'
8282

8383

8484
@staticmethod
@@ -96,7 +96,7 @@ def standard_image(img_name):
9696

9797

9898
class AFNITraitedSpec(CommandLineInputSpec):
99-
outputtype = traits.Enum('NIFTI_GZ', Info.ftypes.keys(),
99+
outputtype = traits.Enum('AFNI', Info.ftypes.keys(),
100100
desc = 'AFNI output filetype')
101101

102102

0 commit comments

Comments
 (0)