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

BF: Bug in resample

parent 0f04511a
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ def resample(image, ...@@ -164,7 +164,7 @@ def resample(image,
if sliceobj is None: sliceobj = slice(None) if sliceobj is None: sliceobj = slice(None)
if dtype is None: dtype = image.dtype if dtype is None: dtype = image.dtype
if origin is None: dtype = 'centre' if origin is None: origin = 'centre'
if mode is None: mode = 'nearest' if mode is None: mode = 'nearest'
if origin == 'center': origin = 'centre' if origin == 'center': origin = 'centre'
......
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