Skip to content

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

@pandaqiuqiu

Description

@pandaqiuqiu

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

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

  •                   outFile='data.rds')
    

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

Metadata

Metadata

Assignees

No one assigned

    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