Skip to content

Commit d86638d

Browse files
committed
chore: simplified endpoint for ontologies
1 parent d38ebaf commit d86638d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/Programmatically getting information about simulation tools from BioSimulators.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@
12761276
"id": "fca3c056-f55a-4152-8ed8-f1ae7bfb512d",
12771277
"metadata": {},
12781278
"source": [
1279-
"Information about all of the ontologies used by BioSimulators is available from [BioSimulations' ontology REST API](https://ontology.api.biosimulations.org/). Documentation is available inline at this URL. The API can be queried as illustrated below to retrieve information about specific terms, such as the Systems Biology Markup Language (SBML) ([EDAM:format_2585](https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2Fformat_2585)) and ordinary differential equations (ODES) ([SBO_0000293](https://www.ebi.ac.uk/ols/ontologies/sbo/terms?iri=http%3A%2F%2Fbiomodels.net%2FSBO%2FSBO_0000293))."
1279+
"Information about all of the ontologies used by BioSimulators is available from [BioSimulations' ontology REST API](https://api.biosimulations.org/). Documentation is available inline at this URL. The API can be queried as illustrated below to retrieve information about specific terms, such as the Systems Biology Markup Language (SBML) ([EDAM:format_2585](https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2Fformat_2585)) and ordinary differential equations (ODES) ([SBO_0000293](https://www.ebi.ac.uk/ols/ontologies/sbo/terms?iri=http%3A%2F%2Fbiomodels.net%2FSBO%2FSBO_0000293))."
12801280
]
12811281
},
12821282
{
@@ -1303,7 +1303,7 @@
13031303
}
13041304
],
13051305
"source": [
1306-
"response = requests.get('https://ontology.api.biosimulations.org/EDAM/format_2585')\n",
1306+
"response = requests.get('https://api.biosimulations.org/EDAM/format_2585')\n",
13071307
"response.raise_for_status()\n",
13081308
"print(yaml.dump(response.json()))"
13091309
]
@@ -1333,7 +1333,7 @@
13331333
}
13341334
],
13351335
"source": [
1336-
"response = requests.get('https://ontology.api.biosimulations.org/SBO/SBO_0000293')\n",
1336+
"response = requests.get('https://api.biosimulations.org/SBO/SBO_0000293')\n",
13371337
"response.raise_for_status()\n",
13381338
"print(yaml.dump(response.json()))"
13391339
]

0 commit comments

Comments
 (0)