cellgeni / sceasy

A package to help convert different single-cell data formats to each other
GNU General Public License v3.0
367 stars 53 forks source link

error raised while reading key '/layers' of type <class 'h5py._hl.group.Group' when converting h5ad to seurat object #93

Open pandaqiuqiu opened 3 weeks ago

pandaqiuqiu commented 3 weeks ago

when I converted h5ad file to seurat, it encountered an error like this:

sceasy::convertFormat(h5ad_file, from="anndata", to="seurat",

Error in py_call_impl(callable, call_args$unnamed, call_args$named) : anndata._io.utils.AnnDataReadError: Above error raised while reading key '/layers' of type <class 'h5py._hl.group.Group'> from /. Run reticulate::py_last_error() for details.

And versions of packages as following:

anndata 0.7.1 h5py 2.9.0 loompy 2.0.16 numpy 1.21.5 pandas 1.3.3 python 3.7.13 scipy 1.2.1

Do you have any suggestions to help me fix this? Thanks