-
Notifications
You must be signed in to change notification settings - Fork 10
Use zarr v3 and updated ome-zarr-py #172
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
base: master
Are you sure you want to change the base?
Conversation
|
Check above failing due to But we are installing ome-zarr-py from ome/ome-zarr-py#413 which specifies So I can't see where any version of I can try to add to "test-requires" deps, or even to .omeroci/py-setup but it seems strange that regular dependencies are ignored? |
|
Still seeing: I am now trying to specify that but I can't commit this change because I get: This seems to be because the python version is not 3.11 which is required for ChatGPT tells me: "Unfortunately, you cannot directly specify the Python version used in .pre-commit-config.yaml for a hook like mypy. Pre-commit hooks run in isolated environments (usually via virtualenv) that are based on the system Python or the Python interpreter pre-commit was installed with." As in #171, getting the build to pass is the hardest part of the PR! Any ideas? |
|
I think when I've run into this, I've installed a |
|
I guess there's a few questions/issues I'm having:
The error doesn't say what version of python it's using, but it rejects with |
The Python used is specified in the .git/hook. If you have a new pre-commit, you can re-install the hook. |
|
Thanks @joshmoore - that answers the last of my 3 questions I think. The jobs above are failing on the How do I find out the version of python used by omero-test-infra, and can I control it? |
|
Updated to use the Release Candidate of ome-zarr-py etc. Need to update |
|
@jburel I'm not sure that I see any difference with the most recent build based on your branch at https://github.com/jburel/omero-test-infra/tree/python3.12. The errors look the same. Does my previous commit look correct? I'm not sure of the best way to check if your branch is being used for the last build?
|
|
Tried running locally: I get the same error with openmicroscopy/omero-test-infra too (nothing to do with jburel's branch) |
|
Excluding to avoid conflicts while we focus on Zarr v2 and import workflow at #180 [EDIT] removing exclude 26th Sept... |
|
@dominikl - This is another option you could use to generate |
|
Thanks Will good idea! |
|
Exported an image to v0.5 zarr, trying to read it with zarr-java, got this error: Indeed there's a Is that part of zarr v3 spec, in which case I should open an issue on zarr-java? |
|
Seems no But with I get: |
|
So this is a problem of the zarr python package? How about the latest version 3.1.3? |
|
Same behaviour in 3.1.3 |
|
I opened an issue at zarr-developers/zarr-python#3521 |
specifying the exact format means that 'datasets' is valid in V05 (not valid if CurrentFormat is V06)
Uses zarr v3 (via
ome-zarr-py 0.12.0)To test:
$ omero zarr export Image:6001240$ omero zarr masks Image:6001240$ omero zarr export Image:9836998 --format 0.4$ omero zarr masks Image:9836998# Masks will also be zarr v2 (0.4)$ omero zarr import --target 1094 https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.5/idr0062A/6001240_labels.zarr