Skip to content

Commit 8a813fe

Browse files
authored
Merge pull request #2784 from satra/enh/antsCT
Enh/ants ct
2 parents 745b871 + bca9dfe commit 8a813fe

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

nipype/interfaces/ants/segmentation.py

+4
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ class CorticalThicknessInputSpec(ANTSCommandInputSpec):
560560

561561
class CorticalThicknessOutputSpec(TraitedSpec):
562562
BrainExtractionMask = File(exists=True, desc='brain extraction mask')
563+
ExtractedBrainN4 = File(exists=True, desc='extracted brain from N4 image')
563564
BrainSegmentation = File(exists=True, desc='brain segmentaion image')
564565
BrainSegmentationN4 = File(exists=True, desc='N4 corrected image')
565566
BrainSegmentationPosteriors = OutputMultiPath(
@@ -645,6 +646,9 @@ def _list_outputs(self):
645646
outputs['BrainExtractionMask'] = os.path.join(
646647
os.getcwd(), self.inputs.out_prefix + 'BrainExtractionMask.' +
647648
self.inputs.image_suffix)
649+
outputs['ExtractedBrainN4'] = os.path.join(
650+
os.getcwd(), self.inputs.out_prefix + 'ExtractedBrain0N4.' +
651+
self.inputs.image_suffix)
648652
outputs['BrainSegmentation'] = os.path.join(
649653
os.getcwd(), self.inputs.out_prefix + 'BrainSegmentation.' +
650654
self.inputs.image_suffix)

nipype/interfaces/ants/tests/test_auto_CorticalThickness.py

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def test_CorticalThickness_outputs():
7575
BrainVolumes=dict(),
7676
CorticalThickness=dict(),
7777
CorticalThicknessNormedToTemplate=dict(),
78+
ExtractedBrainN4=dict(),
7879
SubjectToTemplate0GenericAffine=dict(),
7980
SubjectToTemplate1Warp=dict(),
8081
SubjectToTemplateLogJacobian=dict(),

nipype/interfaces/spm/preprocess.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -524,12 +524,12 @@ class RealignUnwarpInputSpec(SPMCommandInputSpec):
524524
est_re_est_mov_par = traits.Bool(
525525
field='uweoptions.rem',
526526
desc='Re-estimate movement parameters at each unwarping iteration.')
527-
est_num_of_interations = traits.ListInt(
527+
est_num_of_iterations = traits.ListInt(
528528
[5],
529529
field='uweoptions.noi',
530530
minlen=1,
531531
maxlen=1,
532-
usedfault=True,
532+
usedefault=True,
533533
desc='Number of iterations.')
534534
est_taylor_expansion_point = traits.String(
535535
'Average',

nipype/interfaces/spm/tests/test_auto_RealignUnwarp.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ def test_RealignUnwarp_inputs():
88
est_basis_func=dict(field='uweoptions.basfcn', ),
99
est_first_order_effects=dict(field='uweoptions.fot', ),
1010
est_jacobian_deformations=dict(field='uweoptions.jm', ),
11-
est_num_of_interations=dict(
11+
est_num_of_iterations=dict(
1212
field='uweoptions.noi',
1313
maxlen=1,
1414
minlen=1,
15-
usedfault=True,
15+
usedefault=True,
1616
),
1717
est_re_est_mov_par=dict(field='uweoptions.rem', ),
1818
est_reg_factor=dict(

0 commit comments

Comments
 (0)