File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -560,6 +560,7 @@ class CorticalThicknessInputSpec(ANTSCommandInputSpec):
560560
561561class 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 )
Original file line number Diff line number Diff 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 (),
Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments