From 28cde67e728d87a28d8de5c837e7aca813e3ce09 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Sun, 21 Jan 2018 18:40:25 +0000 Subject: [PATCH] Mesh class does not need deprecated getBounds method --- fsl/data/mesh.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fsl/data/mesh.py b/fsl/data/mesh.py index 82dc0ca76..3abf6f695 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') -- GitLab