So if somebody writes an AnnData object to an h5ad file using an hdf5plugin compression instead of the standard compression algorithms (which is a perfectly valid thing to do), then regular anndata.read_h5ad will not work to read the file.
The fix seems to just be to add import hdf5plugin:
https://github.com/cellarium-ai/cellarium-nexus/pull/20#issuecomment-3189810137
I don't know where we would have to add this in this codebase. Unclear to me if it can be loaded in our code, or if it would have to be loaded in the same scope as the anndata read (which would be in the CZI codebase, not here).
So if somebody writes an AnnData object to an h5ad file using an
hdf5plugincompression instead of the standard compression algorithms (which is a perfectly valid thing to do), then regularanndata.read_h5adwill not work to read the file.The fix seems to just be to add
import hdf5plugin:https://github.com/cellarium-ai/cellarium-nexus/pull/20#issuecomment-3189810137
I don't know where we would have to add this in this codebase. Unclear to me if it can be loaded in our code, or if it would have to be loaded in the same scope as the anndata read (which would be in the CZI codebase, not here).