Skip to content

Commit 2e83232

Browse files
chores: remove unnecessary files from branch
1 parent 3bacde6 commit 2e83232

4 files changed

Lines changed: 16 additions & 1119 deletions

File tree

notebooks/chebi_mix_ontology.ipynb

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"outputs": [],
99
"source": [
1010
"import logging\n",
11-
"import pandas as pd\n",
12-
"from ontograph.client import ClientOntology, ClientCatalog\n",
13-
"from ontograph.utils import translate_ids"
11+
"\n",
12+
"from ontograph.utils import translate_ids\n",
13+
"from ontograph.client import ClientOntology"
1414
]
1515
},
1616
{
@@ -30,8 +30,8 @@
3030
"metadata": {},
3131
"outputs": [],
3232
"source": [
33-
"PATH_ONTOLOGY_FILE = \"../data/out/swiss_lipids_ontology.obo\" \n",
34-
"PATH_MAPPING_FILE = \"../data/out/swiss_lipids_mapping_ids.csv\""
33+
"PATH_ONTOLOGY_FILE = '../data/out/swiss_lipids_ontology.obo'\n",
34+
"PATH_MAPPING_FILE = '../data/out/swiss_lipids_mapping_ids.csv'"
3535
]
3636
},
3737
{
@@ -134,9 +134,9 @@
134134
"outputs": [],
135135
"source": [
136136
"swiss_onto.load_mapping(filepath=PATH_MAPPING_FILE,\n",
137-
" delimiter=\"\\t\",\n",
137+
" delimiter='\\t',\n",
138138
" #target_column=\"chebi_id\",\n",
139-
" target_column=\"swiss_lipid_id\",\n",
139+
" target_column='swiss_lipid_id',\n",
140140
" )"
141141
]
142142
},
@@ -149,11 +149,11 @@
149149
"source": [
150150
"test_ids_diverse = [\n",
151151
" 'CHEBI:70995', # chebi\n",
152-
" \"SLM:000508824\", # swiss lipids\n",
153-
" \"HMDB00032\", # hmdb\n",
154-
" \"LMGP01030010\", # lipid maps\n",
155-
" \"MNXM2990\", # metanetx\n",
156-
" \"CHEBI:88888\" # fake chebi id\n",
152+
" 'SLM:000508824', # swiss lipids\n",
153+
" 'HMDB00032', # hmdb\n",
154+
" 'LMGP01030010', # lipid maps\n",
155+
" 'MNXM2990', # metanetx\n",
156+
" 'CHEBI:88888' # fake chebi id\n",
157157
"]\n",
158158
"\n",
159159
"test_ids_swiss_lipids = ['SLM:000048885','SLM:000508824','SLM:000000042','SLM:000048885','SLM:000000288']"
@@ -184,9 +184,9 @@
184184
"outputs": [],
185185
"source": [
186186
"for term in swiss_onto.get_terms(terms_translated):\n",
187-
" print(f\"\\n{term}\")\n",
187+
" print(f'\\n{term}')\n",
188188
" for property in term.annotations:\n",
189-
" print(f\"\\t{property.property}: {property.literal}\")\n"
189+
" print(f'\\t{property.property}: {property.literal}')\n"
190190
]
191191
},
192192
{
@@ -197,9 +197,9 @@
197197
"outputs": [],
198198
"source": [
199199
"for term in swiss_onto.get_terms(test_ids_diverse):\n",
200-
" print(f\"\\n{term}\")\n",
200+
" print(f'\\n{term}')\n",
201201
" for property in term.annotations:\n",
202-
" print(f\"\\t{property.property}: {property.literal}\")"
202+
" print(f'\\t{property.property}: {property.literal}')"
203203
]
204204
},
205205
{

notebooks/pipeline_mapping.drawio

Lines changed: 0 additions & 172 deletions
This file was deleted.

notebooks/swisslipids_ontology_config.yaml

Lines changed: 0 additions & 204 deletions
This file was deleted.

0 commit comments

Comments
 (0)