Skip to content

Conversation

@will-moore
Copy link
Member

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.py https://github.com/BioNGFF/omero-import-utils/blob/main/metadata/register.py
on 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-py installed 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/...zarr command, 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

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.

1 participant