Update Python-Bioformats dependency version #70
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Python-Bioformats dependency has been pinned in MagellanMapper to v1.1.0 because of a heap space error encountered with later versions of the package when importing some large image files (see CellProfiler/python-bioformats#95). Since the Bio-Formats library included in this version of the package is relatively old (Bio-Formats v5.1.8 from 2016), this PR updates the package to bring in the current Bio-Formats version (v6.6.0). The library was tested on a large (40GB), multi-series CZI file that previously could not be loaded because of a JPEG-XR not supported error but now loads with this new library.
Python-Bioformats now depends on a fork of the original Javabridge package, named Python-Javabridge, pinned to its latest version. This latest version in turn requires NumPy 1.20, which has dropped Python 3.6 support. To maintain Python 3.6 compatibility, we have posted a custom wheel from a fork that uses that original Javabridge. This wheel thus can use the custom Javabridge wheels that we have previously posted to allow installation without a compiler or JDK and continues to work with Python >= 3.6. A simple Bash script used to build the wheel and based on the custom Javabridge wheel script is also included in this PR.