Closed fidelram closed 4 years ago
The workaround is to add metric manually to .uns['neighbors']['params']['metric']
. However, i'm not sure it is conceptually right to use ingest with bbknn.
Thanks.
Hi @Koncopd
Can you elaborate a bit more on what to set .uns['neighbors']['params']['metric']
to?
Thanks!
I think it's normally just the string "euclidean"
, but you can just test what is stored in .uns['neighbors']['params']['metric']
after running sc.pp.neighbors()
on some test data.
Ingest tries to search for the metric used when neighbors was called. When this information is not available it fails. Is there a workaround for this?
Versions: