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
0ab31648
Commit
0ab31648
authored
Jan 27, 2020
by
Paul McCarthy
🚵
Browse files
BF: wrong data object
parent
8b36d12e
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/utils/image/resample.py
View file @
0ab31648
...
...
@@ -206,7 +206,7 @@ def resample(image,
# same shape and identity matrix? the
# image doesn't need to be resampled
if
np
.
all
(
np
.
isclose
(
image
.
shape
,
newShape
))
and
\
if
np
.
all
(
np
.
isclose
(
data
.
shape
,
newShape
))
and
\
np
.
all
(
np
.
isclose
(
matrix
,
np
.
eye
(
len
(
newShape
)
+
1
))):
return
data
,
image
.
voxToWorldMat
...
...
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