Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
9aa878b3
Commit
9aa878b3
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Imagewrapper was using its own deprecated function
parent
2cdbdb22
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/data/imagewrapper.py
+3
-1
3 additions, 1 deletion
fsl/data/imagewrapper.py
with
3 additions
and
1 deletion
fsl/data/imagewrapper.py
+
3
−
1
View file @
9aa878b3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment