Skip to content

Commit cf49830

Browse files
committed
Reverted docstring fixes in preproc
1 parent 258d772 commit cf49830

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,7 @@ class SegmentInputSpec(SPMCommandInputSpec):
733733
wm_output_type = traits.List(traits.Bool(), minlen=3, maxlen=3,
734734
field='output.WM',
735735
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.
738737
None: [False,False,False],
739738
Native Space: [False,False,True],
740739
Unmodulated Normalised: [False,True,False],
@@ -875,8 +874,8 @@ def _list_outputs(self):
875874
outfield = '%s_%s_image' % (image, tissue)
876875
outputs[outfield] = fname_presuffix(
877876
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):
880879
outputs['bias_corrected_image'] = fname_presuffix(f, prefix='m')
881880
t_mat = fname_presuffix(f, suffix='_seg_sn.mat', use_ext=False)
882881
outputs['transformation_mat'] = t_mat
@@ -895,8 +894,7 @@ class NewSegmentInputSpec(SPMCommandInputSpec):
895894
desc="""A tuple with the following fields:
896895
- bias reguralisation (0-10)
897896
- 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""",
900898
field='channel')
901899
tissues = traits.List(
902900
traits.Tuple(traits.Tuple(File(exists=True), traits.Int()),
@@ -905,10 +903,8 @@ class NewSegmentInputSpec(SPMCommandInputSpec):
905903
desc="""A list of tuples (one per tissue) with the following fields:
906904
- tissue probability map (4D), 1-based index to frame
907905
- 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""",
912908
field='tissue')
913909
affine_regularization = traits.Enum('mni', 'eastern', 'subj', 'none',
914910
field='warp.affreg',

0 commit comments

Comments
 (0)