Skip to content
Snippets Groups Projects
Commit 5f886e2a authored by Arin Wongprommoon's avatar Arin Wongprommoon
Browse files

fix(aliby): dummy image has 5 dimensions

WHY IS THIS CHANGE NEEDED?:
- consistent with standard indexing, and should make tiler happy

HOW DOES THE CHANGE SOLVE THE PROBLEM?:
- get the z-dimension in

REFERENCES:
- issue #53
parent ce257d19
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,9 @@ class ImageDummy(BaseLocalImage):
# z = 1, x = 1200, y = 1200
img = imread(str(img_path))
# Adds t & c dimensions
img = da.reshape(img, (1, 1, img.shape[-2], img.shape[-1]))
img = da.reshape(
img, (1, 1, img.shape[-3], img.shape[-2], img.shape[-1])
)
# Pads t, c, and z dimensions
# ....
return img
......
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