Open rcannood opened 2 months ago
Hi @rcannood,
It looks like a silly edgecase. Basically, in the AnnData we have a column called feature_name
which is the same as the name of the index, so when it tries to join on the index it throws an error.
Adding the following line before running liana solves the issue:
adata.var.index.name = None
I have addressed for the next update: https://github.com/saezlab/liana-py/commit/efe6aa9d87db49db6daec695ec10a81fbeacc5a4 :)
Let me know if any other issues arise.
I'm trying to run the
data_processors/infer_truth
component inopenproblems-bio/task_cell_cell_communication
project. This code is no longer working, and it isn't obvious to me how to fix it :sweat_smile:Contents of
script.py
:The error message I get is:
Here is the dataset h5ad in a zip:
dataset.zip
@dbdimitrov Would you be able to help out with getting this script to work again?