From dd088f5ba05b75d3d0227f376e9eae95be9f3481 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Thu, 31 Mar 2022 17:06:20 +0100
Subject: [PATCH] BF: typo

---
 fsl/data/image.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fsl/data/image.py b/fsl/data/image.py
index 44e4ad51c..4d2e3383f 100644
--- a/fsl/data/image.py
+++ b/fsl/data/image.py
@@ -1518,10 +1518,10 @@ class Image(Nifti):
         # as having 3 dimensions.
         shape              = self.shape
         realShape          = self.realShape
-        slc                = canonicalSliceObj(slc, shape)
-        fancy              = isValidFancySliceObj(sliceobj, shape)
-        expNdims, expShape = expectedShape(    slc, shape)
-        slc                = canonicalSliceObj(slc, realShape)
+        slc                = canonicalSliceObj(   slc, shape)
+        fancy              = isValidFancySliceObj(slc, shape)
+        expNdims, expShape = expectedShape(       slc, shape)
+        slc                = canonicalSliceObj(   slc, realShape)
 
         if   self.__dataMgr is not None: data = self.__dataMgr[slc]
         elif self.__data    is not None: data = self.__data[slc]
-- 
GitLab