Closed Smilenone closed 1 year ago
Hi @Smilenone and sorry for the delayed response.
The error InvalidIndexError: Reindexing only valid with uniquely valued Index objects
usually comes from AnnData objects which either have duplicated gene names in the adata.var.index
slot (or less frequently duplicated cell names in the adata.obs.index
slot). In that case a quick fix would be to use var_names_make_unique (or obs_names_make_unique).
The error should also pop up using certain features of scanpy, so it is not Tacco specific.
I hope this helps!
When I use tc.tl.annotate(), where the ref and space data was read by scanpy. I met the following error:
Can you help?