Skip to content

Commit 3f1d776

Browse files
committed
Added old class names for backwards compatibility, included DeprecationWarning
1 parent a2ad613 commit 3f1d776

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nipype/interfaces/ants/segmentation.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,10 @@ def _list_outputs(self):
601601
return outputs
602602

603603

604+
class antsCorticalThickness(CorticalThickness):
605+
DeprecationWarning('This class has been replaced by CorticalThickness and will be removed in version 0.13')
606+
607+
604608
class BrainExtractionInputSpec(ANTSCommandInputSpec):
605609
dimension = traits.Enum(3, 2, argstr='-d %d', usedefault=True,
606610
desc='image dimension (2 or 3)')
@@ -683,6 +687,10 @@ def _list_outputs(self):
683687
return outputs
684688

685689

690+
class antsBrainExtraction(BrainExtraction):
691+
DeprecationWarning('This class has been replaced by BrainExtraction and will be removed in version 0.13')
692+
693+
686694
class JointFusionInputSpec(ANTSCommandInputSpec):
687695
dimension = traits.Enum(3, 2, 4, argstr='%d', position=0, usedefault=True,
688696
mandatory=True,

0 commit comments

Comments
 (0)