File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,14 +98,14 @@ class AFNICommandInputSpec(CommandLineInputSpec):
98
98
out_file = File (name_template = "%s_afni" , desc = 'output image file name' ,
99
99
argstr = '-prefix %s' ,
100
100
name_source = ["in_file" ])
101
-
101
+
102
102
class AFNICommandOutputSpec (TraitedSpec ):
103
103
out_file = File (desc = 'output file' ,
104
104
exists = True )
105
105
106
106
107
107
class AFNICommand (CommandLine ):
108
-
108
+
109
109
input_spec = AFNICommandInputSpec
110
110
_outputtype = None
111
111
@@ -143,7 +143,7 @@ def set_default_output_type(cls, outputtype):
143
143
cls ._outputtype = outputtype
144
144
else :
145
145
raise AttributeError ('Invalid AFNI outputtype: %s' % outputtype )
146
-
146
+
147
147
def _overload_extension (self , value ):
148
148
path , base , _ = split_filename (value )
149
149
return os .path .join (path , base + Info .outputtype_to_ext (self .inputs .outputtype ))
@@ -157,5 +157,5 @@ def _list_outputs(self):
157
157
if outputs [name ]:
158
158
_ ,_ ,ext = split_filename (outputs [name ])
159
159
if ext == "" :
160
- outputs [name ] = outputs [name ] + "+orig.BRIK"
160
+ outputs [name ] = outputs [name ] + "+orig.BRIK"
161
161
return outputs
You can’t perform that action at this time.
0 commit comments