Closed VladimirShitov closed 2 months ago
Wow what a great description of the issue thanks so much for reporting @VladimirShitov ! Got this bug really on spot! PR on the way fixing this!
Haha, I just had to find a workaround to work with my data, and ChatGPT nicely generated the toy test. I was happy to contribute!
Report
Consider the use case when you have several layers with some representations of patients in the data. You want to calculate neighbours and connectivities separately for these layers and then build a UMAP. Naturally, you want to store neighbours and connectivities in custom slots to not lose them.
key_added
inep.pp.neighbors
andneighbors_key
inep.tl.umap
provide such a possibility. Unfortunately, using them atm is not possible without some magical rituals.Here's a code to reproduce errors. Uncomment all 3 lines to get the code that does the job.
When running like this, the code will produce the following error:
When the first comment is uncommented:
When the first 2 comments are uncommented, the error is identical to the first case.
Version information