The post-TopicVelo AnnData object can't be saved using standard AnnData saving functions because adata.uns['top_genes'] is a list of lists, which is not a data type supported by them. I can work around this by deleting the component causing issues (i.e., del adata.uns['top_genes']), but this is not ideal.
The post-TopicVelo AnnData object can't be saved using standard AnnData saving functions because
adata.uns['top_genes']
is a list of lists, which is not a data type supported by them. I can work around this by deleting the component causing issues (i.e.,del adata.uns['top_genes']
), but this is not ideal.