ome / ome-ngff-validator

Web page for validating OME-NGFF files
https://ome.github.io/ome-ngff-validator
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

Tables #20

Closed will-moore closed 10 months ago

will-moore commented 1 year ago

Work in progress...

Starting to look at how to parse and display table data - see https://github.com/ome/ngff/pull/64/

Test: https://deploy-preview-20--ome-ngff-validator.netlify.app/?source=https://minio-dev.openmicroscopy.org/idr/temp_table/test_segment.zarr/tables/regions_table

Currently showing X, var, obs and obsm data:

Screenshot 2022-12-15 at 23 32 43

Using sample data generated with https://github.com/kevinyamauchi/ome-ngff-tables-prototype/blob/main/examples/save_load_squidpy_segment.py with some tweaks at https://github.com/kevinyamauchi/ome-ngff-tables-prototype/pull/12

This data appears in napari like this (screenshot): https://github.com/ome/ngff/pull/64#issuecomment-1310600810

Initially, this shows a link when viewing the image that has a table. Clicking the link shows the full table page, coloured to match the AnnData scheme.

Limitations: zarr.js doesn't support data with dtype: <i8, which means data such as obs/cell_id needs to have dtype fixed (see PR above).

The current implementation differs from the spec as described at https://github.com/ome/ngff/pull/64/files#r1022784696 with a single table at test_segmetation.zarr/tables/region_table/.zattrs (as generated by the script above).

cc @kevinyamauchi

netlify[bot] commented 1 year ago

Deploy Preview for ome-ngff-validator ready!

Name Link
Latest commit 16699c1378a72555591f13ae681e4b08d752e633
Latest deploy log https://app.netlify.com/sites/ome-ngff-validator/deploys/6410703f60727b0008307b31
Deploy Preview https://deploy-preview-20--ome-ngff-validator.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

imagesc-bot commented 1 year ago

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/generating-vitessce-config-via-javascript-api/75678/1

imagesc-bot commented 1 year ago

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/roi-annotations-and-tracking-information-in-ome-zarr/65975/4

will-moore commented 10 months ago

Closing, since https://github.com/ome/ngff/pull/64 is closed.