[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of scanpy.
[X] (optional) I have confirmed this bug exists on the master branch of scanpy.
What happened?
When I use sc.tl.filter_rank_genes_groups or sc.tl.filter_rank_genes_groups, I can not write the result file until I delete the output files stored as adata.uns['rank_genes_groups_filtered'] and adata.uns['rank_genes_groups']
Minimal code sample
sc.tl.filter_rank_genes_groups
sc.tl.filter_rank_genes_groups
Both default use
Error output
TypeError: Can't implicitly convert non-string objects to strings
Above error raised while writing key 'names' of <class 'h5py._hl.group.Group'> to /
Please make sure these conditions are met
What happened?
When I use
sc.tl.filter_rank_genes_groups
orsc.tl.filter_rank_genes_groups
, I can not write the result file until I delete the output files stored asadata.uns['rank_genes_groups_filtered']
andadata.uns['rank_genes_groups']
Minimal code sample
Error output
Versions
anndata: 0.9.2 scanpy version: 1.9.5