@@ -1397,7 +1397,7 @@ class LocalBistatInputSpec(AFNICommandInputSpec):
1397
1397
' * ALL = all of the above, in that order'
1398
1398
'More than one option can be used.' ,
1399
1399
argstr = '-stat %s...' )
1400
- mask_file = traits . File (
1400
+ mask_file = File (
1401
1401
exists = True ,
1402
1402
desc = 'mask image file name. Voxels NOT in the mask will not be used '
1403
1403
'in the neighborhood of any voxel. Also, a voxel NOT in the mask '
@@ -1407,13 +1407,13 @@ class LocalBistatInputSpec(AFNICommandInputSpec):
1407
1407
desc = 'Compute the mask as in program 3dAutomask.' ,
1408
1408
argstr = '-automask' ,
1409
1409
xor = ['weight_file' ])
1410
- weight_file = traits . File (
1410
+ weight_file = File (
1411
1411
exists = True ,
1412
1412
desc = 'File name of an image to use as a weight. Only applies to '
1413
1413
'\' pearson\' statistics.' ,
1414
1414
argstr = '-weight %s' ,
1415
1415
xor = ['automask' ])
1416
- out_file = traits . File (
1416
+ out_file = File (
1417
1417
desc = 'Output dataset.' ,
1418
1418
argstr = '-prefix %s' ,
1419
1419
name_source = 'in_file1' ,
@@ -1527,7 +1527,7 @@ class LocalstatInputSpec(AFNICommandInputSpec):
1527
1527
' mean, median, MAD, P2skew\n '
1528
1528
'More than one option can be used.' ,
1529
1529
argstr = '-stat %s...' )
1530
- mask_file = traits . File (
1530
+ mask_file = File (
1531
1531
exists = True ,
1532
1532
desc = 'Mask image file name. Voxels NOT in the mask will not be used '
1533
1533
'in the neighborhood of any voxel. Also, a voxel NOT in the '
@@ -1589,7 +1589,7 @@ class LocalstatInputSpec(AFNICommandInputSpec):
1589
1589
overwrite = traits .Bool (
1590
1590
desc = 'overwrite output file if it already exists' ,
1591
1591
argstr = '-overwrite' )
1592
- out_file = traits . File (
1592
+ out_file = File (
1593
1593
desc = 'Output dataset.' ,
1594
1594
argstr = '-prefix %s' ,
1595
1595
name_source = 'in_file' ,
@@ -1905,7 +1905,7 @@ class NwarpApplyInputSpec(CommandLineInputSpec):
1905
1905
inv_warp = traits .Bool (
1906
1906
desc = 'After the warp specified in \' -nwarp\' is computed, invert it' ,
1907
1907
argstr = '-iwarp' )
1908
- master = traits . File (
1908
+ master = File (
1909
1909
exists = True ,
1910
1910
desc = 'the name of the master dataset, which defines the output grid' ,
1911
1911
argstr = '-master %s' )
@@ -1980,10 +1980,10 @@ class NwarpApply(AFNICommandBase):
1980
1980
1981
1981
class NwarpCatInputSpec (AFNICommandInputSpec ):
1982
1982
in_files = traits .List (
1983
- traits .Either (traits . File (),
1983
+ traits .Either (File (),
1984
1984
traits .Tuple (
1985
1985
traits .Enum ('IDENT' , 'INV' , 'SQRT' , 'SQRTINV' ),
1986
- traits . File ())),
1986
+ File ())),
1987
1987
desc = "list of tuples of 3D warps and associated functions" ,
1988
1988
mandatory = True ,
1989
1989
argstr = "%s" ,
@@ -2137,7 +2137,7 @@ class OneDToolPyInputSpec(AFNIPythonCommandInputSpec):
2137
2137
desc =
2138
2138
'display a list of TRs which were not censored in the specified style' ,
2139
2139
argstr = '-show_trs_uncensored %s' )
2140
- show_cormat_warnings = traits . File (
2140
+ show_cormat_warnings = File (
2141
2141
desc = 'Write cormat warnings to a file' ,
2142
2142
argstr = "-show_cormat_warnings |& tee %s" ,
2143
2143
position = - 1 ,
@@ -2226,7 +2226,7 @@ class RefitInputSpec(CommandLineInputSpec):
2226
2226
desc = 'Associates the dataset with a specific template type, e.g. '
2227
2227
'TLRC, MNI, ORIG' )
2228
2228
atrcopy = traits .Tuple (
2229
- traits . File (exists = True ),
2229
+ File (exists = True ),
2230
2230
traits .Str (),
2231
2231
argstr = '-atrcopy %s %s' ,
2232
2232
desc = 'Copy AFNI header attribute from the given file into the header '
@@ -2310,7 +2310,7 @@ class ReHoInputSpec(CommandLineInputSpec):
2310
2310
position = 1 ,
2311
2311
mandatory = True ,
2312
2312
exists = True )
2313
- out_file = traits . File (
2313
+ out_file = File (
2314
2314
desc = 'Output dataset.' ,
2315
2315
argstr = '-prefix %s' ,
2316
2316
name_source = 'in_file' ,
@@ -2323,7 +2323,7 @@ class ReHoInputSpec(CommandLineInputSpec):
2323
2323
'Kendall\' s W. This option is currently compatible only with '
2324
2324
'the AFNI (BRIK/HEAD) output type; the chi-squared value will '
2325
2325
'be the second sub-brick of the output dataset.' )
2326
- mask_file = traits . File (
2326
+ mask_file = File (
2327
2327
desc = 'Mask within which ReHo should be calculated voxelwise' ,
2328
2328
argstr = '-mask %s' )
2329
2329
neighborhood = traits .Enum (
@@ -2451,7 +2451,7 @@ class ResampleInputSpec(AFNICommandInputSpec):
2451
2451
* [traits .Float ()] * 3 ,
2452
2452
argstr = '-dxyz %f %f %f' ,
2453
2453
desc = 'resample to new dx, dy and dz' )
2454
- master = traits . File (
2454
+ master = File (
2455
2455
argstr = '-master %s' , desc = 'align dataset grid to a reference file' )
2456
2456
2457
2457
@@ -3247,7 +3247,7 @@ class ZeropadInputSpec(AFNICommandInputSpec):
3247
3247
'and slice thickness = 2.5 mm ==> 2 slices added' ,
3248
3248
argstr = '-mm' ,
3249
3249
xor = ['master' ])
3250
- master = traits . File (
3250
+ master = File (
3251
3251
desc = 'match the volume described in dataset '
3252
3252
'\' mset\' , where mset must have the same '
3253
3253
'orientation and grid spacing as dataset to be '
0 commit comments