You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi, hope you're doing well! Unfortunately, when trying to import mapping from pypath.utils there seems to be a JSONDecodeError. The issue is that Gatewate timeout strings getting appended on the curl request to https://rampdb.nih.gov/api/id-types
Describe the bug
Hi, hope you're doing well! Unfortunately, when trying to import mapping from pypath.utils there seems to be a
JSONDecodeError
. The issue is that Gatewate timeout strings getting appended on the curl request to https://rampdb.nih.gov/api/id-typesTo Reproduce
Steps to reproduce the behavior:
git clone https://github.com/saezlab/pypath.git poetry install poetry shell python -c "from pypath.utils import mapping"
Note: this occured through installation through pip too on 0.16.5, 0.16.9, 0.16.10
Expected behavior
Import to go through without errors.
Traceback
Log file
Checking the c.result string sent to json the following returns:
Desktop (please complete the following information):
Additional context
I guess the required code changes would be in
pypath/share/curl.py
to avoid this issue from preventing the import.The text was updated successfully, but these errors were encountered: