saezlab/liana-py

get_hcop_orthologs

Opened this issue · 3 comments

Describe the bug
I was trying to follow the tutorial, but get the error: AttributeError: module 'liana.resource' has no attribute 'get_hcop_orthologs'

Liana version: 0.1.9

To Reproduce

import liana as li
map_df = li.rs.get_hcop_orthologs(url='https://ftp.ebi.ac.uk/pub/databases/genenames/hcop/human_mouse_hcop_fifteen_column.txt.gz', columns=['human_symbol', 'mouse_symbol'], min_evidence=3)

Screenshots
Screenshot 2024-08-27 at 09 03 04

Hi @tuhulab,

Please make sure to update liana+ to the latest version. This should resolve the issue:
pip install liana --upgrade

Updating to the latest version does not solve this issue

I was able to resolve this issue by installing the development version with:
pip install git+https://github.com/saezlab/liana-py
and switching to Python 3.11.5 (I had been using Python 3.12.7)