-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Missing Hetionet Link #1220
Comments
Hi @HxyScotthuang , looks like @dhimmel did some reorganizing on the hetionet repo. i'll try and get to this tomorrow - it just requires changing that URL in the source code. Would be glad to accept a PR if you want to take care of this yourself! |
It seems that the url has changed to https://github.com/hetio/hetionet/blob/main/hetnet/tsv/hetionet-v1.0-edges.sif.gz, but substituting this throws me an |
Please have a look, as I am not sure if this is the correct URL. Thanks! |
Code to reproduce the error:
|
Unfortunately, the original URL did not pin to a specific version. All you need to do is swap https://github.com/hetio/hetionet/raw/v1.0.0/hetnet/tsv/hetionet-v1.0-edges.sif.gz |
@HxyScotthuang it's not closed until we have a code fix in the package, sketchy patches aren't good for the future ;) |
Oh I see. The fix is working on my end. Thank you very much for the update! |
Ah I renamed the I wonder if I should make a |
You could also consider to either make a GitHub release with a release artifact to download the data, or, maybe even better, create a persistent dump of the data in Zenodo. |
There is a zenodo release, but that doesn't fix the problem. The problem is that there are links in the wild to the I think I will try creating a |
Created a master tag. See https://github.com/hetio/hetionet/releases/tag/master. Old links should continue to work now. Let me know if otherwise. Still not a bad idea to specify an actual versioned tag like |
It might, at least for use within PyKEEN, fix the problem, if we change to using the zenodo URL instead of accessing |
The way Zenodo archived the GitHub repo is that it made a zip of the repo contents as of the v1.0.0 tag. Doesn't allow URL download access to individual files in the repo. |
Describe the bug
When I want to import Hetionet in PyKeen, there is a 404 error as the target URL in the source code is not functioning. Please check and update the function of Hetionet().
Source code: https://pykeen.readthedocs.io/en/stable/_modules/pykeen/datasets/hetionet.html#Hetionet
URL in source code: https://github.com/hetio/hetionet/raw/master/hetnet/tsv/hetionet-v1.0-edges.sif.gz
How to reproduce
Environment
Additional information
No response
Issue Template Checks
The text was updated successfully, but these errors were encountered: