Skip to content

Commit 0309071

Browse files
committed
Spelling / Formatting of Monarch scemaview
1 parent 2dc5048 commit 0309071

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

notebooks/SchemaView_Monarch.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
"metadata": {},
1919
"outputs": [],
2020
"source": [
21-
"from linkml_runtime.utils.schemaview import SchemaView\n",
2221
"import requests\n",
2322
"\n",
23+
"from linkml_runtime.utils.schemaview import SchemaView\n",
24+
"\n",
2425
"# note you can also use a path on a local filesystem\n",
2526
"view = SchemaView(\"https://raw.githubusercontent.com/biolink/biolink-model/master/biolink-model.yaml\")"
2627
]
@@ -91,7 +92,7 @@
9192
"# object = 'phenotypic feature'\n",
9293
"object = \"sequence variant\"\n",
9394
"\n",
94-
"query_prefix = f\"https://www.ebi.ac.uk/ols/api/ontologies/_ontology/terms/\"\n",
95+
"query_prefix = \"https://www.ebi.ac.uk/ols/api/ontologies/_ontology/terms/\"\n",
9596
"mappings = view.get_mappings(object)\n",
9697
"if len(mappings) == 0:\n",
9798
" print(\"no exact mappings found for: \" + object)\n",
@@ -197,8 +198,8 @@
197198
"source": [
198199
"# find predicates for those associations\n",
199200
"# at this point, navigating the online doc might be easiest if you just want answers.\n",
200-
"# programatically, we can get the predicates that have equivalent domain and range constraints to find which\n",
201-
"# coudl be used for associations above.\n"
201+
"# programmatically, we can get the predicates that have equivalent domain and range constraints to find which\n",
202+
"# could be used for associations above.\n"
202203
]
203204
},
204205
{

0 commit comments

Comments
 (0)