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

Fix to image wrapper test

parent 027f8c68
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -560,7 +560,8 @@ def test_ImageWrapper_read(niters, seed): ...@@ -560,7 +560,8 @@ def test_ImageWrapper_read(niters, seed):
for j, (vol, r) in enumerate(zip(ordering, ranges)): for j, (vol, r) in enumerate(zip(ordering, ranges)):
# Access the volume # Access the volume
wrapper[..., vol] if len(data.shape) >= 3: wrapper[..., vol]
else: wrapper[:, vol, 0]
# The current known data range # The current known data range
# should be the min/max of # should be the min/max of
......
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