Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
1fbf7bd2
Commit
1fbf7bd2
authored
Mar 12, 2018
by
Paul McCarthy
🚵
Browse files
Imagewrapper was using its own deprecated function
parent
1a59bea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/data/imagewrapper.py
View file @
1fbf7bd2
...
...
@@ -177,6 +177,8 @@ class ImageWrapper(notifier.Notifier):
data range is updated directly on reads/writes.
"""
import
fsl.data.image
as
fslimage
self
.
__image
=
image
self
.
__name
=
name
self
.
__taskThread
=
None
...
...
@@ -205,7 +207,7 @@ class ImageWrapper(notifier.Notifier):
# __getitem__ to force the
# result to have the correct
# dimensionality.
self
.
__canonicalShape
=
canonicalShape
(
image
.
shape
)
self
.
__canonicalShape
=
fslimage
.
canonicalShape
(
image
.
shape
)
# The internal state is stored
# in these attributes - they're
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment