Open iainmuntz opened 2 years ago
@iainmuntz I don't have access to a .lif
file. Could you upload one to Teams or point to one on the group drive?
I have just tested the notebook and was able to use the pims library to load a .lif
file after installing pims
and jpype1
with conda. As your error mentions the lack of a Java environment variable, can you check whether java is properly installed or perhaps reinstall it? Alternatively, this guide provides a possible solution.
Two other observations:
loci_tools.jar
file via pims.bioformats.download_jar(version='6.5')
is being addressed in this PR. When this is released, the required file will be downloaded automatically and this step should no longer be required.pims.Bioformats(file, read_mode='jpype')
You are correct that the java install wasn't as it should have been. I have fixed this on my ubuntu machine but need to check later if it will be OK on my windows PC
After installing java 64 bit version the import line now works on Windows.
I had set up the JAVA_HOME and path variables already so not sure if that is completely necessary - maybe someone else can test?
Add section Troubleshooting
and add link to this issue
When trying to run pims.Bioformats to open a .lif file I get an error about environment variables, can we resolve this in-line.
In the meantime I will continue to look for other solutions for loading .lif files.
See imageLoading.ipynb in branch iMuntz/imageLoad
Error message