Skip to content
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

loci_tools.jar issue #426

Open
perdigao1 opened this issue Oct 4, 2022 · 2 comments
Open

loci_tools.jar issue #426

perdigao1 opened this issue Oct 4, 2022 · 2 comments

Comments

@perdigao1
Copy link

Example code

import pims
image = pims.bioformats.BioformatsReader(somefilename)

And error messages that spit out

UserWarning: loci_tools.jar not found, downloading
  warn('loci_tools.jar not found, downloading')

...

HTTPError: HTTP Error 404: Not Found

Note here:

File [...]\site-packages\pims\bioformats.py:78, in download_jar(version)
74 url = ('http://downloads.openmicroscopy.org/bio-formats/' + version +
75 '/artifacts/loci_tools.jar')

which points to https://downloads.openmicroscopy.org/bio-formats/6.10.1/artifacts/loci_tools.jar , but this file/url does not exist

Please fix

@GenevieveBuckley
Copy link
Contributor

You could try branch #403 (using bioformats_package.jar instead of loci_tools.jar)

@jstriebel
Copy link

@perdigao1 You can also download an older version of bioformats which still contains the loci_tools.jar. The newest working version seems to be 6.7.0. We use such a workaround here:
https://github.com/scalableminds/webknossos-libs/blob/1d4831dd00862de7ee634137f5bbeaf0ba4c10e8/webknossos/webknossos/dataset/_utils/pims_images.py#L251-L258

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

No branches or pull requests

3 participants