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

Sample /predict queries in the Jupyter notebook have outdated params #59

Open
anas-elghafari opened this issue Oct 7, 2024 · 1 comment
Assignees
Labels
api-query Issue querying the API bug Something isn't working

Comments

@anas-elghafari
Copy link

anas-elghafari commented Oct 7, 2024

The parameters for the /predict endpoint in the Jupiter notebook ( https://github.com/MaastrichtU-IDS/translator-openpredict/blob/master/resources/openpredict-examples.ipynb ) are outdated

This is the URL fired off by the sample code in the Jupiter notebook. It results in a "Method Not Allowed" error message:
https://openpredict.semanticscience.org/predict?disease_id=OMIM%3A114550&n_results=5

The cause seems to be that param names in the API have changed. They are now "objects" instead of "disease_id"

@anas-elghafari anas-elghafari added api-query Issue querying the API bug Something isn't working labels Oct 7, 2024
Copy link

dagshub bot commented Oct 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-query Issue querying the API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants