Skip to content

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

@anas-elghafari

Description

@anas-elghafari

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"

Metadata

Metadata

Labels

api-queryIssue querying the APIbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions