Skip to content

hdf5plugin for loading h5ads with custom compression #3

Description

@sjfleming

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions