Closed alberto-valdeolivas closed 9 months ago
Hi Alberto, I hope you too are doing well! :)
This particular trace means nothing else than a download error. First I would simply try again, if it fails same or similar way, then it's time to look into the logs, or try from another network.
Also, building a database by the pypath.omnipath
module will likely fail this time, because many refactoring happened in the past months, and there are still a few things to clean up. I want to do a public database build before end of March, then I have to fix all the remaining issues and after that, the situation will be better.
If you let me know which particular data you want to access, maybe I can help more.
Denes
Thanks @deeenes for you quick reply!
It worked today! However, I have this error now:
>>> from pypath import omnipath
>>> from pypath.utils import mapping
>>> from pypath.utils import homology
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'homology' from 'pypath.utils'
Is it orthology.py
now?
I guess it is due to the refactoring. Should I install the pip version instead of the one from github while you are working on this refactoring?
I am actually basically trying to run Progeny, CollecTri and Enrichment Analysis from decoupler with homology transformation for other species such as rat, pig or cyno.
Best regards, Alberto.
Is it
orthology.py
now?I guess it is due to the refactoring. Should I install the pip version instead of the one from github while you are working on this refactoring?
The git version is better, or they are identical. This change is permanent, the name will stay orthology
. First I thought it doesn't make sense to maintain the old name in this case, but for the translate...
functions that could be useful, so I made it a synonym (05f13bec4).
I am actually basically trying to run Progeny, CollecTri and Enrichment Analysis from decoupler with homology transformation for other species such as rat, pig or cyno.
Okay, that should work :)
Thanks Denes! Everything is fine now! :)
Hi @deeenes, I hope you are doing great :).
Describe the bug I manage to install pypath without probelms in a conda environment that I am starting from scratch. However, I am getting the following error when trying to load in python:
To Reproduce I am just following the regular steps to create a conda environment containing pypath-omnipath in an HPC system.
conda create --name myenv python=3.10
conda activate myenv
pip install pypath-omnipath
python3
>>> from pypath import omnipath
And I got the error message dispalyed above.
Log file Please attach the log file or at least the last few lines of it. This way we can see better exactly at which operation and at processing of which dataset the error occured.
Desktop (please complete the following information):
I have also tried with other versions of Python (3.11 and 3.12), but I was getting the same error.