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

Can't save anndata after running define_clonotypes #257

Closed
grst opened this issue Mar 26, 2021 · 1 comment
Closed

Can't save anndata after running define_clonotypes #257

grst opened this issue Mar 26, 2021 · 1 comment
Labels
bug Something isn't working
Projects

Comments

@grst
Copy link
Collaborator

grst commented Mar 26, 2021

reported by @chris-rands in #243:

  • I can't save the object to .h5ad due to TypeError: Can't implicitly convert non-string objects to strings with Above error raised while writing key 'uns/clonotype/cell_indices' of <class 'h5py._hl.files.File'> from /. I encountered this with parts of scanpy also, e.g. theislab/scanpy#1651 (comment)
@grst grst added the bug Something isn't working label Mar 26, 2021
@grst grst added this to In progress in scirpy-dev Mar 29, 2021
grst added a commit that referenced this issue Apr 2, 2021
@grst
Copy link
Collaborator Author

grst commented Apr 7, 2021

This issue only appears with h5py >= 3.
See also scverse/anndata#493

grst added a commit that referenced this issue Apr 7, 2021
Fix issue saving anndata with h5py >= 3.0
@grst grst closed this as completed in #241 Apr 7, 2021
scirpy-dev automation moved this from In progress to Done Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
scirpy-dev
  
Done
Development

No branches or pull requests

1 participant