@@ -188,7 +188,7 @@ class ComposeXfmInputSpec(CommandLineInputSpec):
188188 mandatory = False , position = 1 , argstr = "-df %s" )
189189 in_aff = traits .Str (desc = 'affine file.aff' , exists = True , mandatory = False ,
190190 position = 0 , argstr = "-aff %s" )
191- out_path = traits .Str (desc = 'output_path' , exists = True , mandatory = False ,
191+ out_file = traits .Str (desc = 'output_path' , exists = True , mandatory = False ,
192192 position = 2 , argstr = "-out %s" , name_source = "in_df" ,
193193 name_template = "%s_comboaff.nii.gz" )
194194
@@ -229,7 +229,7 @@ class diffeoSymTensor3DVolInputSpec(CommandLineInputSpec):
229229 position = 1 , argstr = "-trans %s" )
230230 in_target = traits .Str (desc = '' , exists = True , mandatory = False , position = 2 ,
231231 argstr = "-target %s" )
232- out_path = traits .Str (desc = '' , exists = True , mandatory = False , position = 3 ,
232+ out_file = traits .Str (desc = '' , exists = True , mandatory = False , position = 3 ,
233233 argstr = "-out %s" , name_source = "in_tensor" ,
234234 name_template = "%s_diffeoxfmd.nii.gz" )
235235
@@ -258,7 +258,7 @@ class diffeoSymTensor3DVolTask(CommandLineDtitk):
258258
259259 def _list_outputs (self ):
260260 outputs = self .output_spec ().get ()
261- outputs ['out_file' ] = self .inputs .out_path
261+ outputs ['out_file' ] = self .inputs .out_file
262262 return outputs
263263
264264
@@ -269,7 +269,7 @@ class affSymTensor3DVolInputSpec(CommandLineInputSpec):
269269 mandatory = False , position = 1 , argstr = "-trans %s" )
270270 in_target = traits .Str (desc = '' , exists = True , mandatory = False , position = 2 ,
271271 argstr = "-target %s" )
272- out_path = traits .Str (desc = '' , exists = True , mandatory = False , position = 3 ,
272+ out_file = traits .Str (desc = '' , exists = True , mandatory = False , position = 3 ,
273273 argstr = "-out %s" , name_source = "in_tensor" ,
274274 name_template = "%s_affxfmd.nii.gz" )
275275
@@ -297,7 +297,7 @@ class affSymTensor3DVolTask(CommandLineDtitk):
297297
298298 def _list_outputs (self ):
299299 outputs = self .output_spec ().get ()
300- outputs ['out_file' ] = os .path .abspath (self .inputs .out_path )
300+ outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
301301 return outputs
302302
303303
@@ -308,7 +308,7 @@ class affScalarVolInputSpec(CommandLineInputSpec):
308308 mandatory = False ,
309309 position = 1 , argstr = "-trans %s" )
310310 in_target = traits .Str (desc = '' , position = 2 , argstr = "-target %s" )
311- out_path = traits .Str (desc = '' , mandatory = False , position = 3 ,
311+ out_file = traits .Str (desc = '' , mandatory = False , position = 3 ,
312312 argstr = "-out %s" , name_source = "in_volume" ,
313313 name_template = "%s_affxfmd.nii.gz" )
314314
@@ -336,7 +336,7 @@ class affScalarVolTask(CommandLineDtitk):
336336
337337 def _list_outputs (self ):
338338 outputs = self .output_spec ().get ()
339- outputs ['out_file' ] = os .path .abspath (self .inputs .out_path )
339+ outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
340340 return outputs
341341
342342
@@ -348,7 +348,7 @@ class diffeoScalarVolInputSpec(CommandLineInputSpec):
348348 position = 2 , argstr = "-trans %s" )
349349 in_target = traits .Str (desc = '' , exists = True , mandatory = False , position = 3 ,
350350 argstr = "-target %s" )
351- out_path = traits .Str (desc = '' , position = 1 , argstr = "-out %s" ,
351+ = traits .Str (desc = '' , position = 1 , argstr = "-out %s" ,
352352 name_source = "in_volume" ,
353353 name_template = "%s_diffeoxfmd.nii.gz" )
354354 in_vsize = traits .Str (desc = '' , exists = True , mandatory = False , position = 4 ,
@@ -385,10 +385,10 @@ class diffeoScalarVolTask(CommandLineDtitk):
385385
386386 def _list_outputs (self ):
387387 outputs = self .output_spec ().get ()
388- if not isdefined (self .inputs .out_path ):
389- self .inputs .out_path = fname_presuffix (self .inputs .in_volume ,
388+ if not isdefined (self .inputs .out_file ):
389+ self .inputs .out_file = fname_presuffix (self .inputs .in_volume ,
390390 suffix = "_diffeoxfmd" ,
391391 newpath = os .path .abspath (
392392 "." ))
393- outputs ['out_file' ] = os .path .abspath (self .inputs .out_path )
393+ outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
394394 return outputs
0 commit comments