Skip to content
Snippets Groups Projects
Commit 41cc0bd5 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Bugfix in sameSpace - broke when comparing 3D with 4D

parent fb6c5c0b
No related branches found
No related tags found
No related merge requests found
......@@ -536,9 +536,9 @@ class Nifti(notifier.Notifier):
same space as this image.
"""
return np.all(np.isclose(self .__shape[:3],
other.__shape[:3])) and \
np.all(np.isclose(self .__pixdim,
other.__pixdim)) and \
other.__shape[:3])) and \
np.all(np.isclose(self .__pixdim[:3],
other.__pixdim[:3])) and \
np.all(np.isclose(self .__voxToWorldMat,
other.__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