-
Notifications
You must be signed in to change notification settings - Fork 11
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
java.lang.ClassCastException
on ZARR import
#94
Comments
I think I have a fix on my fork - I'd need somehelp with testing though - how exactly would I be able to test my changes in the underlying Java code in my Python workflow? 🤔 |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/ome-zarr-import-to-omero-failure-response-on-import/82067/7 |
Thank you for opening the issue and investigating a fix. I believe the version of ZarrReader you are using is 0.3.1 so the initial failure would have been here: https://github.com/ome/ZarrReader/blob/v0.3.1/src/loci/formats/in/ZarrReader.java#L704 This would make sense based on the sample file. From that file the OMERO metadata looks like this:
@jo-mueller, if you want to open a Pull Request against this repository then we can review and test the fix for a future release. If you wanted to test it locally as part of your own workflow then you would have to build the jar file using |
Hi @dgault , thanks for the hint. I am not super-experienced with Java (actually not at all 😅 ) - I successfully built my fork using maven. Where exactly would the current |
Hi @jo-mueller, sorry for the slow response. The |
Hi @dgault , I tried myself at fixing this but no success, unfortunately - I think I would have to limit myself to an observer on this issue :/ I'll be happy to test any changes on the project though, if need be. |
@jo-mueller could you open a PR with your branch? |
I have opened a PR which contains the 2 commits from that fork for testing: #95 |
Hi all,
following up an issue I created over at ezomero, I am having some trouble uploading zarr to our omero server.
I created a test zarr file for trial with this Python code:
and tried the upload through both ezomero as well as the CLI using
omero import --name "Test" --depth 10 ./test.zarr/
You can create the zarr yourself, otherwise, you can also download the test file here.
Full traceback:
Any help is much appreciated and thanks already in advance :)
The text was updated successfully, but these errors were encountered: