ome/napari-ome-zarr

Labels should be opened as label layer

constantinpape opened this issue · 4 comments

After fixing the issues with my data observed in #33. The labels are now loaded by the plugin.
However they are loaded as image layer:
image

It would make more sense to load them as label layer instead. Note that this is particularly annoying right now since it's not possible to convert them into a label layer due to #34.

Can you try napari https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.3/idr0079A/9836998.zarr, which is an example with labels that show up as labels for me.
Can you share the data you're viewing above?

Can you try napari https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.3/idr0079A/9836998.zarr, which is an example with labels that show up as labels for me.

Yes, that opens it as labels layer for me too.

Can you share the data you're viewing above?

I uploaded the data here: https://oc.embl.de/index.php/s/wfpdHpgHseGUTYK. It is from the example here: https://github.com/ome/ome-ngff-prototypes/tree/main/workflows/spatial-transcriptomics-example

I found the likely culprit: ome/ngff#109
(I have used snake case, i.e. image_label.) Will double check this now.

Yes, this fixes the issue.