Closed pakiessling closed 6 months ago
Hi,
thanks for letting us know about this error and sorry for the late reply. It seems this bug is caused upstream by anndata. I opened an issue on the anndata github, regarding this behavior here.
For now, you could continue just deleting the .uns key in question. In case you need it for downstream analysis, you could convert the series to a dictionary. This way you would keep all information.
adata.uns[<key>] = adata.uns[<key>].to_dict()
adata.write_h5ad('adata.h5ad')
Hope this helps!
Perfect, thank you!
Hi,
I am on tacco 0.3.0 and anndata 0.10.5.post1.
When I try to save a h5ad after tacco I receive the error:
Deleting the key fixes the issue. Any idea what is going wrong?