@@ -733,8 +733,7 @@ class SegmentInputSpec(SPMCommandInputSpec):
733
733
wm_output_type = traits .List (traits .Bool (), minlen = 3 , maxlen = 3 ,
734
734
field = 'output.WM' ,
735
735
desc = """
736
- Options to produce white matter images: \
737
- c2*.img, wc2*.img and mwc2*.img.
736
+ Options to produce white matter images: c2*.img, wc2*.img and mwc2*.img.
738
737
None: [False,False,False],
739
738
Native Space: [False,False,True],
740
739
Unmodulated Normalised: [False,True,False],
@@ -875,8 +874,8 @@ def _list_outputs(self):
875
874
outfield = '%s_%s_image' % (image , tissue )
876
875
outputs [outfield ] = fname_presuffix (
877
876
f , prefix = '%sc%d' % (prefix , tidx + 1 ))
878
- if isdefined (self .inputs .save_bias_corrected ) and \
879
- self .inputs .save_bias_corrected :
877
+ if ( isdefined (self .inputs .save_bias_corrected )
878
+ and self .inputs .save_bias_corrected ) :
880
879
outputs ['bias_corrected_image' ] = fname_presuffix (f , prefix = 'm' )
881
880
t_mat = fname_presuffix (f , suffix = '_seg_sn.mat' , use_ext = False )
882
881
outputs ['transformation_mat' ] = t_mat
@@ -895,8 +894,7 @@ class NewSegmentInputSpec(SPMCommandInputSpec):
895
894
desc = """A tuple with the following fields:
896
895
- bias reguralisation (0-10)
897
896
- FWHM of Gaussian smoothness of bias
898
- - which maps to save (Corrected, Field) - \
899
- a tuple of two boolean values""" ,
897
+ - which maps to save (Corrected, Field) - a tuple of two boolean values""" ,
900
898
field = 'channel' )
901
899
tissues = traits .List (
902
900
traits .Tuple (traits .Tuple (File (exists = True ), traits .Int ()),
@@ -905,10 +903,8 @@ class NewSegmentInputSpec(SPMCommandInputSpec):
905
903
desc = """A list of tuples (one per tissue) with the following fields:
906
904
- tissue probability map (4D), 1-based index to frame
907
905
- number of gaussians
908
- - which maps to save [Native, DARTEL] - \
909
- a tuple of two boolean values
910
- - which maps to save [Unmodulated, Modulated] - \
911
- a tuple of two boolean values""" ,
906
+ - which maps to save [Native, DARTEL] - a tuple of two boolean values
907
+ - which maps to save [Unmodulated, Modulated] - a tuple of two boolean values""" ,
912
908
field = 'tissue' )
913
909
affine_regularization = traits .Enum ('mni' , 'eastern' , 'subj' , 'none' ,
914
910
field = 'warp.affreg' ,
0 commit comments