|
1 | 1 | import os |
2 | | -import sys |
3 | 2 | import traits |
4 | 3 | from nipype.interfaces.base import InputMultiPath, TraitedSpec, isdefined |
5 | 4 | from nipype.interfaces.spm import SPMCommand |
@@ -59,8 +58,8 @@ class CAT12SegmentInputSpec(SPMCommandInputSpec): |
59 | 58 | affine_regularization = traits.trait_types.Str(default_value="mni", |
60 | 59 | field="opts.affreg", usedefault=True, desc=affine_reg_help) |
61 | 60 |
|
62 | | - bias_acc_help = "Strength of the SPM inhomogeneity (bias) correction that simultaneously controls the SPM biasreg, " \ |
63 | | - "biasfwhm, samp (resolution), and tol (iteration) parameter." |
| 61 | + bias_acc_help = "Strength of the SPM inhomogeneity (bias) correction that simultaneously controls the SPM " \ |
| 62 | + "biasreg, biasfwhm, samp (resolution), and tol (iteration) parameter." |
64 | 63 | power_spm_inhomogeneity_correction = traits.trait_types.Float(default_value=0.5, field='opts.biasacc', |
65 | 64 | usedefault=True, |
66 | 65 | desc=bias_acc_help) |
@@ -168,9 +167,9 @@ class CAT12SegmentInputSpec(SPMCommandInputSpec): |
168 | 167 | # Templates |
169 | 168 | neuromorphometrics = traits.trait_types.Bool(True, field="output.ROImenu.atlases.neuromorphometrics", |
170 | 169 | usedefault=True) |
171 | | - lpba40 = traits.trait_types.Bool(False, field="output.ROImenu.atlases.lpba40", usedefault=True) |
| 170 | + lpba40 = traits.trait_types.Bool(True, field="output.ROImenu.atlases.lpba40", usedefault=True) |
172 | 171 | cobra = traits.trait_types.Bool(True, field="output.ROImenu.atlases.hammers", usedefault=True) |
173 | | - hammers = traits.trait_types.Bool(False, field="output.ROImenu.atlases.cobra", usedefault=True) |
| 172 | + hammers = traits.trait_types.Bool(True, field="output.ROImenu.atlases.cobra", usedefault=True) |
174 | 173 | own_atlas = InputMultiPath(ImageFileSPM(exists=True), field="output.ROImenu.atlases.ownatlas", |
175 | 174 | desc="Own Atlas", mandatory=False, copyfile=False) |
176 | 175 |
|
@@ -335,7 +334,7 @@ def _list_outputs(self): |
335 | 334 | outputs[outfield] = fname_presuffix(f, prefix=prefix, suffix="_rigid") |
336 | 335 |
|
337 | 336 | if isdefined(self.inputs.save_bias_corrected) and self.inputs.save_bias_corrected: |
338 | | - outputs["bias_corrected_image"] = fname_presuffix(f, prefix=os.path.join("mri", 'mi')) |
| 337 | + outputs["bias_corrected_image"] = fname_presuffix(f, prefix=os.path.join("mri", 'wmi')) |
339 | 338 |
|
340 | 339 | outputs["surface_files"] = [os.path.join(os.path.join(pth, "surf"), f) for f in |
341 | 340 | os.listdir(os.path.join(pth, "surf")) |
|
0 commit comments