Skip to content
Snippets Groups Projects
Commit 9aa878b3 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Imagewrapper was using its own deprecated function

parent 2cdbdb22
No related branches found
No related tags found
No related merge requests found
...@@ -177,6 +177,8 @@ class ImageWrapper(notifier.Notifier): ...@@ -177,6 +177,8 @@ class ImageWrapper(notifier.Notifier):
data range is updated directly on reads/writes. data range is updated directly on reads/writes.
""" """
import fsl.data.image as fslimage
self.__image = image self.__image = image
self.__name = name self.__name = name
self.__taskThread = None self.__taskThread = None
...@@ -205,7 +207,7 @@ class ImageWrapper(notifier.Notifier): ...@@ -205,7 +207,7 @@ class ImageWrapper(notifier.Notifier):
# __getitem__ to force the # __getitem__ to force the
# result to have the correct # result to have the correct
# dimensionality. # dimensionality.
self.__canonicalShape = canonicalShape(image.shape) self.__canonicalShape = fslimage.canonicalShape(image.shape)
# The internal state is stored # The internal state is stored
# in these attributes - they're # in these attributes - they're
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment