question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

anndata reading error with version 0.8.0

See original GitHub issue

Hi,

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:open
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cornhundredcommented, Mar 18, 2022

Thanks that sounds good @ivirshup I’ll email you.

1reaction
ivirshupcommented, Mar 16, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found