anndata reading error with version 0.8.0
See original GitHub issueHi,
Scanpy’s sc.read_h5ad
method appears to be having an error in how it is reading our AnnData HDF5 file when we use the new 0.8.0 version of the AnnData library:
Loading using anndata version 0.7.8
AnnData object with n_obs × n_vars = 121393 × 649
obs: 'Custom cells sets', 'Datasets', 'volume', 'center_x', 'center_y'
Loading using anndata version 0.8.0
AnnData object with n_obs × n_vars = 121393 × 649
obs: 'Custom cells sets', 'Datasets', '__categories', '_index', 'center_x', 'center_y', 'volume'
var: '_index'
I can provide a Google Colab example soon to reproduce.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Anndata Import Error with 0.8.0 - scrna-seq - Galaxy Help
Was having issues uploading h5ad files to galaxy (see error below). Turned out I was saving files with scanpy but the version of...
Read more >Release notes — anndata 0.9.0.dev36+g18078aa ...
Previous releases of anndata will not be able to read all files written by this version. For discussion of possible future solutions to...
Read more >AnnData - Read the Docs
anndata is a Python package for handling annotated data matrices in memory and on disk, positioned between pandas and xarray. anndata offers ...
Read more >anndata.AnnData.uns — anndata 0.8.0 documentation
anndata.AnnData.T · anndata.AnnData.X · anndata. ... Combining · Reading · Writing · Experimental API · Errors and warnings ... Read the Docs v:...
Read more >anndata.AnnData.raw — anndata 0.9.0.dev36+g18078aa ...
Store raw version of X and var as .raw.X and .raw.var . The raw attribute is initialized with the current content of an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks that sounds good @ivirshup I’ll email you.
As a workaround for right now, if you write what you’ve read in with
anndata==0.7.8
the new release will be able to read that.