-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BadGzipFile get_progeny #154
Comments
Hello, Could you please include a full traceback? A corrupted gzip file suggests an accidental download issue. I recommend wiping the cache of
...and try loading the dataset again. It's also good to make sure you perform the downloads with a good network connection. Edit: I see you use Windows, in this case change |
Hi, thanks for the prompt answer!
|
Apparently a simple query to the basic UniProt API fails. We should check in the logs what was that query. In the directory where you run your session above, probably the bottom of the last log file contains the relevant information:
Or you can reproduce the error and see the log file from Python:
In the log there should be the path to the affected cache file, you can check locally what's the actual content of that file, is it indeed a truncated gzip, or is it a HTML error page? And if you could post here the last few dozens of lines from the log, it would be very helpful for me to find out about this error. |
I run it again trying to reproduce the error. For some reason it now gives a different error: Downloading data from
|
Describe the bug
When using any other organism than 'human', a BadGzipFile error occurs. I tried using different species (mouse, rat, pig, dog,...) and different names and IDs (e.g. mouse, mus musculus, NCBI ID '10090' for mouse).
To Reproduce
import decoupler as dc
progeny = dc.get_progeny(organism="mus musculus", top=500)
Expected behavior
Return of a DataFrame as noted in the documentation of decoupler.get_progeny
System
The text was updated successfully, but these errors were encountered: