Skip to content

Commit 55c9d44

Browse files
committed
Allow all .zarr images to be viewable in iviewer
1 parent 0b52b23 commit 55c9d44

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

idr_gallery/views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,10 @@ def image_viewer(request, iid, conn=None, **kwargs):
545545
# data_location is "IDR" or "Github" or "BIA" or "Embassy_S3"
546546
img_path, data_location, is_zarr = img_info
547547

548+
# No externalInfo, but zarr can still be viewed with ZarrReader
549+
if is_zarr:
550+
return iviewer_index(request, iid, conn=conn, **kwargs)
551+
548552
# get parent Project or Screen to get IDRID name
549553
parents = image.getAncestry()
550554
idrid_name = parents[-1].name # e.g. idr0002-heriche-condensation/experimentA

0 commit comments

Comments
 (0)