-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Hi there, I found what looks like a small bug in the scale at which a label array is displayed (relative to the corresponding OME-Zarr image). The same dataset loads fine in vizarr.
To Reproduce
- Run
pnpm i & pnpm run devfor current main - 1178401. - Open http://localhost:5173/?source=https://raw.githubusercontent.com/tcompa/hosting-ome-zarr-on-github/refs/heads/main/with_labels/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr/B/03/0 (this is a typical output coming from Fractal, also available at https://zenodo.org/records/10257149 - cc @jluethi).
- Enable the labels layer.
- Observe a scale mismatch - see screenshot below.
- Compare with how vizarr displays the same image+labels at https://hms-dbmi.github.io/vizarr/?source=https://raw.githubusercontent.com/tcompa/hosting-ome-zarr-on-github/refs/heads/main/with_labels/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr/B/03/0 - see screenshot below.
Note that the image and label multiscales have different YX scale transformations for their highest-resolution level:
- Image: https://github.com/tcompa/hosting-ome-zarr-on-github/blob/af7beee54655b92e6a49d1177bcade1274a99a13/with_labels/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr/B/03/0/.zattrs#L30-L33
- Label: https://github.com/tcompa/hosting-ome-zarr-on-github/blob/af7beee54655b92e6a49d1177bcade1274a99a13/with_labels/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr/B/03/0/labels/nuclei/.zattrs#L32-L34
Expected behavior
The same as vizarr.
Screenshots (if applicable)
biongff-viewer:
vizarr:
Environment (please complete the following information):
- OS: Ubuntu24
- Python/Node/Django/etc. version: pnpm 10.17.1
- Browser (if applicable): Firefox
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working