Skip to content
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

update grape.datasets.monarchinitiative to point to latest Monarch nodes/edges #51

Open
justaddcoffee opened this issue Aug 16, 2023 · 0 comments

Comments

@justaddcoffee
Copy link

justaddcoffee commented Aug 16, 2023

Current this is not working:

from grape.datasets.monarchinitiative import Monarch
g = Monarch()
Downloading files: 0%
0/2 [00:00<?, ?it/s]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/ensmallen/datasets/graph_retrieval.py](https://localhost:8080/#) in download(self)
    349                 # Download the necessary data
--> 350                 self._downloader.download(
    351                     self._graph["urls"],

9 frames
ValueError: Request to url https://archive.monarchinitiative.org/202103/kgx/sri-reference-kg_nodes.tsv finished with status code 404.

The above exception was the direct cause of the following exception:

RuntimeError                              Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/ensmallen/datasets/graph_retrieval.py](https://localhost:8080/#) in download(self)
    353                 )
    354             except Exception as e:
--> 355                 raise RuntimeError(
    356                     f"Something went wrong while downloading the graph {self._name}, "
    357                     f"version {self._version}, "

RuntimeError: Something went wrong while downloading the graph Monarch, version 202103, retrieved from the monarchinitiative repository. In this step, we are trying to download data provided from third parties, and such data may now be offline or moved. Please do investigate what has happened at the URLs reported below in this error message and do open up an issue in the Ensmallen's GitHub repository reporting also the completeexception of this error to help us keep the automatic graph retrieval in good shape. Thank you!Specifically, we were trying to download the following urls: ['https://archive.monarchinitiative.org/202103/kgx/sri-reference-kg_nodes.tsv', 'https://archive.monarchinitiative.org/202103/kgx/sri-reference-kg_edges.tsv']

New builds can be retrieved from here:
https://kg-hub.berkeleybop.io/kg-monarch/index.html

Hopefully this follows the pattern that Grape expects? @LucaCappelletti94 @putmantime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant