@@ -1502,11 +1502,11 @@ class NormalizeInputSpec(FSTraitedSpec):
1502
1502
# optional
1503
1503
gradient = traits .Int (1 , argstr = "-g %d" , usedefault = False ,
1504
1504
desc = "use max intensity/mm gradient g (default=1)" )
1505
- mask = File (argstr = "-mask %s" , mandatory = False , exists = True ,
1505
+ mask = File (argstr = "-mask %s" , exists = True ,
1506
1506
desc = "The input mask file for Normalize" )
1507
- segmentation = File (argstr = "-aseg %s" , mandatory = False ,
1507
+ segmentation = File (argstr = "-aseg %s" ,
1508
1508
exists = True , desc = "The input segmentation for Normalize" )
1509
- transform = File (exists = True , mandatory = False ,
1509
+ transform = File (exists = True ,
1510
1510
desc = "Tranform file from the header of the input file" )
1511
1511
1512
1512
@@ -1551,9 +1551,9 @@ class CANormalizeInputSpec(FSTraitedSpec):
1551
1551
transform = File (argstr = '%s' , exists = True , mandatory = True ,
1552
1552
position = - 2 , desc = "The tranform file in lta format" )
1553
1553
# optional
1554
- mask = File (argstr = '-mask %s' , exists = True , mandatory = False ,
1554
+ mask = File (argstr = '-mask %s' , exists = True ,
1555
1555
desc = "Specifies volume to use as mask" )
1556
- control_points = File (argstr = '-c %s' , mandatory = False ,
1556
+ control_points = File (argstr = '-c %s' ,
1557
1557
desc = "File name for the output control points" )
1558
1558
long_file = File (argstr = '-long %s' ,
1559
1559
desc = 'undocumented flag used in longitudinal processing' )
@@ -1596,20 +1596,20 @@ class CARegisterInputSpec(FSTraitedSpecOpenMP):
1596
1596
#required
1597
1597
in_file = File (argstr = '%s' , exists = True , mandatory = True ,
1598
1598
position = - 3 , desc = "The input volume for CARegister" )
1599
- out_file = File (argstr = '%s' , mandatory = False , position = - 1 ,
1599
+ out_file = File (argstr = '%s' , position = - 1 ,
1600
1600
genfile = True , desc = "The output volume for CARegister" )
1601
- template = File (argstr = '%s' , exists = True , mandatory = False ,
1601
+ template = File (argstr = '%s' , exists = True ,
1602
1602
position = - 2 , desc = "The template file in gca format" )
1603
1603
# optional
1604
- mask = File (argstr = '-mask %s' , exists = True , mandatory = False ,
1604
+ mask = File (argstr = '-mask %s' , exists = True ,
1605
1605
desc = "Specifies volume to use as mask" )
1606
- invert_and_save = traits .Bool (argstr = '-invert-and-save' , mandatory = False , position = - 4 ,
1606
+ invert_and_save = traits .Bool (argstr = '-invert-and-save' , position = - 4 ,
1607
1607
desc = "Invert and save the .m3z multi-dimensional talaraich transform to x, y, and z .mgz files" )
1608
1608
no_big_ventricles = traits .Bool (
1609
- argstr = '-nobigventricles' , mandatory = False , desc = "No big ventricles" )
1610
- transform = File (argstr = '-T %s' , exists = True , mandatory = False ,
1609
+ argstr = '-nobigventricles' , desc = "No big ventricles" )
1610
+ transform = File (argstr = '-T %s' , exists = True ,
1611
1611
desc = "Specifies transform in lta format" )
1612
- align = traits .String (argstr = '-align-%s' , mandatory = False ,
1612
+ align = traits .String (argstr = '-align-%s' ,
1613
1613
desc = "Specifies when to perform alignment" )
1614
1614
levels = traits .Int (
1615
1615
argstr = '-levels %d' ,
@@ -1675,17 +1675,18 @@ class CALabelInputSpec(FSTraitedSpecOpenMP):
1675
1675
intensities = File (argstr = "-r %s" , exists = True ,
1676
1676
desc = "input label intensities file(used in longitudinal processing)" )
1677
1677
no_big_ventricles = traits .Bool (
1678
- argstr = "-nobigventricles" , mandatory = False , desc = "No big ventricles" )
1679
- align = traits .Bool (argstr = "-align" , mandatory = False , desc = "Align CALabel" )
1678
+ argstr = "-nobigventricles" , desc = "No big ventricles" )
1679
+ align = traits .Bool (argstr = "-align" , desc = "Align CALabel" )
1680
1680
prior = traits .Float (argstr = "-prior %.1f" ,
1681
- mandatory = False , desc = "Prior for CALabel" )
1681
+ desc = "Prior for CALabel" )
1682
1682
relabel_unlikely = traits .Tuple (traits .Int , traits .Float ,
1683
1683
argstr = "-relabel_unlikely %d %.1f" ,
1684
- desc = "Reclassify voxels at least some std devs from the mean using some size Gaussian window" ,
1685
- mandatory = False )
1686
- label = traits .File (argstr = "-l %s" , mandatory = False , exists = True ,
1684
+ desc = ("Reclassify voxels at least some std"
1685
+ " devs from the mean using some size"
1686
+ " Gaussian window" ))
1687
+ label = traits .File (argstr = "-l %s" , exists = True ,
1687
1688
desc = "Undocumented flag. Autorecon3 uses ../label/{hemisphere}.cortex.label as input file" )
1688
- aseg = traits .File (argstr = "-aseg %s" , mandatory = False , exists = True ,
1689
+ aseg = traits .File (argstr = "-aseg %s" , exists = True ,
1689
1690
desc = "Undocumented flag. Autorecon3 uses ../mri/aseg.presurf.mgz as input file" )
1690
1691
1691
1692
@@ -1742,11 +1743,11 @@ class MRIsCALabelInputSpec(FSTraitedSpecOpenMP):
1742
1743
hash_files = False , name_template = "%s.aparc.annot" ,
1743
1744
desc = "Annotated surface output file" )
1744
1745
# optional
1745
- label = traits .File (argstr = "-l %s" , mandatory = False , exists = True ,
1746
+ label = traits .File (argstr = "-l %s" , exists = True ,
1746
1747
desc = "Undocumented flag. Autorecon3 uses ../label/{hemisphere}.cortex.label as input file" )
1747
- aseg = traits .File (argstr = "-aseg %s" , mandatory = False , exists = True ,
1748
+ aseg = traits .File (argstr = "-aseg %s" , exists = True ,
1748
1749
desc = "Undocumented flag. Autorecon3 uses ../mri/aseg.presurf.mgz as input file" )
1749
- seed = traits .Int (argstr = "-seed %d" , mandatory = False ,
1750
+ seed = traits .Int (argstr = "-seed %d" ,
1750
1751
desc = "" )
1751
1752
copy_inputs = traits .Bool (desc = "Copies implicit inputs to node directory " +
1752
1753
"and creates a temp subjects_directory. " +
@@ -1835,8 +1836,7 @@ class SegmentCCInputSpec(FSTraitedSpec):
1835
1836
subject_id = traits .String ('subject_id' , argstr = "%s" , mandatory = True ,
1836
1837
position = - 1 , usedefault = True ,
1837
1838
desc = "Subject name" )
1838
- copy_inputs = traits .Bool (mandatory = False ,
1839
- desc = "If running as a node, set this to True." +
1839
+ copy_inputs = traits .Bool (desc = "If running as a node, set this to True." +
1840
1840
"This will copy the input files to the node " +
1841
1841
"directory." )
1842
1842
@@ -1979,10 +1979,10 @@ class EditWMwithAsegInputSpec(FSTraitedSpec):
1979
1979
desc = "Input brain/T1 file" )
1980
1980
seg_file = File (argstr = "%s" , position = - 2 , mandatory = True , exists = True ,
1981
1981
desc = "Input presurf segmentation file" )
1982
- out_file = File (argstr = "%s" , position = - 1 , mandtaory = True , exists = False ,
1982
+ out_file = File (argstr = "%s" , position = - 1 , mandatory = True , exists = False ,
1983
1983
desc = "File to be written as output" )
1984
1984
# optional
1985
- keep_in = traits .Bool (argstr = "-keep-in" , mandatory = False ,
1985
+ keep_in = traits .Bool (argstr = "-keep-in" ,
1986
1986
desc = "Keep edits as found in input volume" )
1987
1987
1988
1988
class EditWMwithAsegOutputSpec (TraitedSpec ):
0 commit comments