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

BF: wrong data object

parent 8b36d12e
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ def resample(image, ...@@ -206,7 +206,7 @@ def resample(image,
# same shape and identity matrix? the # same shape and identity matrix? the
# image doesn't need to be resampled # 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))): np.all(np.isclose(matrix, np.eye(len(newShape) + 1))):
return data, image.voxToWorldMat return data, image.voxToWorldMat
......
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