@@ -188,7 +188,7 @@ class ComposeXfmInputSpec(CommandLineInputSpec):
188
188
mandatory = False , position = 1 , argstr = "-df %s" )
189
189
in_aff = traits .Str (desc = 'affine file.aff' , exists = True , mandatory = False ,
190
190
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 ,
192
192
position = 2 , argstr = "-out %s" , name_source = "in_df" ,
193
193
name_template = "%s_comboaff.nii.gz" )
194
194
@@ -229,7 +229,7 @@ class diffeoSymTensor3DVolInputSpec(CommandLineInputSpec):
229
229
position = 1 , argstr = "-trans %s" )
230
230
in_target = traits .Str (desc = '' , exists = True , mandatory = False , position = 2 ,
231
231
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 ,
233
233
argstr = "-out %s" , name_source = "in_tensor" ,
234
234
name_template = "%s_diffeoxfmd.nii.gz" )
235
235
@@ -258,7 +258,7 @@ class diffeoSymTensor3DVolTask(CommandLineDtitk):
258
258
259
259
def _list_outputs (self ):
260
260
outputs = self .output_spec ().get ()
261
- outputs ['out_file' ] = self .inputs .out_path
261
+ outputs ['out_file' ] = self .inputs .out_file
262
262
return outputs
263
263
264
264
@@ -269,7 +269,7 @@ class affSymTensor3DVolInputSpec(CommandLineInputSpec):
269
269
mandatory = False , position = 1 , argstr = "-trans %s" )
270
270
in_target = traits .Str (desc = '' , exists = True , mandatory = False , position = 2 ,
271
271
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 ,
273
273
argstr = "-out %s" , name_source = "in_tensor" ,
274
274
name_template = "%s_affxfmd.nii.gz" )
275
275
@@ -297,7 +297,7 @@ class affSymTensor3DVolTask(CommandLineDtitk):
297
297
298
298
def _list_outputs (self ):
299
299
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 )
301
301
return outputs
302
302
303
303
@@ -308,7 +308,7 @@ class affScalarVolInputSpec(CommandLineInputSpec):
308
308
mandatory = False ,
309
309
position = 1 , argstr = "-trans %s" )
310
310
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 ,
312
312
argstr = "-out %s" , name_source = "in_volume" ,
313
313
name_template = "%s_affxfmd.nii.gz" )
314
314
@@ -336,7 +336,7 @@ class affScalarVolTask(CommandLineDtitk):
336
336
337
337
def _list_outputs (self ):
338
338
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 )
340
340
return outputs
341
341
342
342
@@ -348,7 +348,7 @@ class diffeoScalarVolInputSpec(CommandLineInputSpec):
348
348
position = 2 , argstr = "-trans %s" )
349
349
in_target = traits .Str (desc = '' , exists = True , mandatory = False , position = 3 ,
350
350
argstr = "-target %s" )
351
- out_path = traits .Str (desc = '' , position = 1 , argstr = "-out %s" ,
351
+ = traits .Str (desc = '' , position = 1 , argstr = "-out %s" ,
352
352
name_source = "in_volume" ,
353
353
name_template = "%s_diffeoxfmd.nii.gz" )
354
354
in_vsize = traits .Str (desc = '' , exists = True , mandatory = False , position = 4 ,
@@ -385,10 +385,10 @@ class diffeoScalarVolTask(CommandLineDtitk):
385
385
386
386
def _list_outputs (self ):
387
387
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 ,
390
390
suffix = "_diffeoxfmd" ,
391
391
newpath = os .path .abspath (
392
392
"." ))
393
- outputs ['out_file' ] = os .path .abspath (self .inputs .out_path )
393
+ outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
394
394
return outputs
0 commit comments