Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View in validator #285

Merged
merged 2 commits into from
Jun 23, 2023
Merged

View in validator #285

merged 2 commits into from
Jun 23, 2023

Conversation

will-moore
Copy link
Member

I had another case where I pasted some python script to tell a user how to serve the local files so that they can be viewed in ome-ngff-validator etc. at #284

It occurred to me that I've done this a few times, so instead we should just ship the code.

This PR allows you to do:

$ ome_zarr view path/to/image.zarr

and it will serve that path/to directory with the correct CORS headers and open your browser at https://ome.github.io/ome-ngff-validator/?source=http://localhost:8000/image.zarr to view your data (and allow you to open it in vizarr etc).

@will-moore will-moore requested a review from joshmoore June 22, 2023 20:34
Copy link
Member

@joshmoore joshmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I recently needed exactly this (I think I tried using file:///).

@joshmoore joshmoore merged commit d24f2ab into ome:master Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants