Commit 2955607c authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Image.ndims (deprecated) was broken

parent e6eae8f7
......@@ -506,7 +506,7 @@ class Nifti(notifier.Notifier, meta.Meta):
details='Use ndim instead')
def ndims(self):
"""Deprecated - use :mod::meth:``ndim`` instead. """
return self.ndim()
return self.ndim
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment