Commit 0ab31648 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: wrong data object

parent 8b36d12e
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment