PMBio/MuDataSeurat

The anndata package expects 'anndata', not 'AnnData' as encoding-type

Closed this issue · 1 comments

vals commented

It seems this line is causing H5AD files saved with MuDataSeurat to not be read.

h5$create_attr("encoding-type", "AnnData", space=H5S$new("scalar"))

Compare with the reading code here: https://github.com/scverse/anndata/blob/b118ba4bfb182a29509d7b07cb5966fb0297be5a/anndata/_io/h5ad.py#L222

Best,
/Valentine

This is fixed in master.