From f9904a560b314081d3e05f308e34a5fceb0a7c39 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Wed, 30 May 2018 11:27:30 +0100
Subject: [PATCH] BF: Forgot property decorator on Image.ndim

---
 fsl/data/image.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fsl/data/image.py b/fsl/data/image.py
index 174e1746b..77889897f 100644
--- a/fsl/data/image.py
+++ b/fsl/data/image.py
@@ -490,6 +490,7 @@ class Nifti(notifier.Notifier, meta.Meta):
         return fileslice.canonical_slicers(sliceobj, self.__origShape)
 
 
+    @property
     def ndim(self):
         """Returns the number of dimensions in this image. This number may not
         match the number of dimensions specified in the NIFTI header, as
-- 
GitLab