Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] Support X-free AnnData files #1762

Closed
johnkerl opened this issue Oct 5, 2023 · 2 comments
Closed

[python] Support X-free AnnData files #1762

johnkerl opened this issue Oct 5, 2023 · 2 comments
Assignees

Comments

@johnkerl
Copy link
Member

johnkerl commented Oct 5, 2023

This is from user feedback.

Update 2023-10-09:

When one writes an AnnData object with X=None, then on readback, two different possibilities occur on read-in:

  • If adata = anndata.read_h5ad('the.h5ad', 'r'), then adata.X does not exist as an attribute of adata
  • If adata = anndata.read_h5ad('the.h5ad'), then adata.X has Python value None

#1672 covered the former. #1767 covers the latter.

@johnkerl
Copy link
Member Author

johnkerl commented Oct 5, 2023

#1672 is merged and released in 1.5.0rc1.

@johnkerl
Copy link
Member Author

johnkerl commented Oct 5, 2023

[sc-35075]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant