-
Notifications
You must be signed in to change notification settings - Fork 12
Fix Issue 109 #110
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
Fix Issue 109 #110
Conversation
|
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/qupath-0-6-0rc1-unable-to-read-remote-ome-zarr-by-url/101605/37 |
|
Since all the |
|
Well, it would be good to see if that really was the issue and fixes the problem with Windows (although I'm 99% sure). Anyway I was testing with Fiji on OSX (via Bio-Formats [Remote] Importer). As BF importer expects a file you have to point it to METADATA.ome.xml, .zarray or .zattrs. With current release ZarrReader 0.6.0:
With this PR:
Was also testing some other zarrs mentioned on the image.sc thread:
Tests missing are:
Maybe you could test Windows @melissalinkert?
|
|
I downloaded Fiji from https://downloads.imagej.net/fiji/latest/fiji-latest-win64-jdk.zip, then added ZarrReader 0.6.0 from https://artifacts.openmicroscopy.org/artifactory/ome.releases/ome/OMEZarrReader/0.6.0/OMEZarrReader-0.6.0.jar to the I can open https://minio-dev.openmicroscopy.org/idr/Testing/cat.ome.zarr/OME/METADATA.ome.xml using Separately from manual testing, since GitHub Actions in this repo runs on Windows/Mac/Linux, it might be worth expanding the unit tests so that we have more automatic confidence in cross-platform support. |
|
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/valid-remote-ome-zarr-v0-4-failing-with-bio-formats-on-windows/116456/6 |
|
@melissalinkert I think that problem was that it needs to go into the "plugins" directory, not "jars". |
|
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: |
|
Just summarizing discussion from Monday's formats meeting, it would be good to update the readme to include a step-by-step guide to installing jars from a PR into Fiji (including when starting from a fresh install of Fiji). Once that has been done, feel free to request a review from me, and I will test on Windows as soon as I have time. |
|
This does actually not solve the problem. Found a way to test on Windows. And still: This problem is much deeper. Throughout the code sun.nio.fs.Path is used and this always fails with URLs. On Windows; somehow the Linux implementation seems to be able to handle it. |
This PR fixes a couple of issues noted in #109 .
/is used in case the path is a URL.