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

Support ragged arrays in AnnData.obs #712

Closed
alam-shahul opened this issue Feb 24, 2022 · 2 comments
Closed

Support ragged arrays in AnnData.obs #712

alam-shahul opened this issue Feb 24, 2022 · 2 comments

Comments

@alam-shahul
Copy link

alam-shahul commented Feb 24, 2022

I am trying to write a ragged array (an adjacency list) to the AnnData.obs field. However, when I try to reload this from the h5 file, it seems each of the inner lists is encoded as a string instead of as an array. However, it seems the HDF5 does support variable length arrays (see here); could anndata possibly support this?

@ivirshup
Copy link
Member

We're working on this.

See draft PR here #647 and previous discussion #609.

@alam-shahul
Copy link
Author

Thanks!

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

2 participants