diff --git a/fsl/data/mesh.py b/fsl/data/mesh.py index 82dc0ca7694ea3d9c78245749f696071d23647c0..3abf6f695cb692d7084e30664bf3e4f69a1d98d2 100644 --- a/fsl/data/mesh.py +++ b/fsl/data/mesh.py @@ -305,14 +305,6 @@ class Mesh(notifier.Notifier, meta.Meta): return vnormals - @deprecation.deprecated(deprecated_in='1.6.0', - removed_in='2.0.0', - details='Use bounds instead') - def getBounds(self): - """Deprecated - use :meth:`bounds` instead. """ - return self.bounds - - @property def bounds(self): """Returns a tuple of values which define a minimal bounding box that @@ -755,6 +747,14 @@ class TriangleMesh(Mesh): return vertexData + @deprecation.deprecated(deprecated_in='1.6.0', + removed_in='2.0.0', + details='Use bounds instead') + def getBounds(self): + """Deprecated - use :meth:`bounds` instead. """ + return self.bounds + + @deprecation.deprecated(deprecated_in='1.6.0', removed_in='2.0.0', details='Use the Mesh class instead')