Skip to content
Snippets Groups Projects
Commit f2fe0c0c authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Image class has getImageWrapper method, primarily for testing.

parent ecc8602b
No related branches found
No related tags found
No related merge requests found
...@@ -837,6 +837,13 @@ class Image(Nifti): ...@@ -837,6 +837,13 @@ class Image(Nifti):
if self.__fileobj is not None: if self.__fileobj is not None:
self.__fileobj.close() self.__fileobj.close()
def getImageWrapper(self):
"""Returns the :class:`.ImageWrapper` instance used to manage
access to the image data.
"""
return self.__imageWrapper
@property @property
......
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