Add ome-zarr-py to omero_server_python_addons #454
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a proposal of one possible solution to a problem, or the start of a discussion... (I hope I've made the change in the correct place?)
Currently I have been running
register.pyhttps://github.com/BioNGFF/omero-import-utils/blob/main/metadata/register.pyon the pilot-idr9999 in the
/opt/omero/server/venv/environment and now that this script has zarr & dask as a dependency in BioNGFF/omero-import-utils#7 it's handy to have an environment with those packages.Also, it has been VERY useful to have
ome-zarr-pyinstalled in an environment on the server because we have OME-Zarr data there which we want to inspect via the ngff-validator, so we want to serve the data with CORS headers enabled, which is handled by the$ ome_zarr view /data/testing/...zarrcommand, with port forwarding to port 8000.Vanilla python http server with CORS requires a bit more code: e.g. https://gist.github.com/amriunix/00c4209ba7ecf384e925fc99d98658c5
cc @dominikl