Skip to content

Commit

Permalink
Merge pull request #99 from monarch-initiative/remove-cl17543-axioms
Browse files Browse the repository at this point in the history
Remove `CL:17543` axioms
  • Loading branch information
joeflack4 committed Jun 19, 2023
2 parents 2df24fc + 6662eb4 commit a4ec92f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buid_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python-version: '3.10'
- name: Install
run: |
python -m pip install --upgrade pip
# python -m pip install --upgrade pip
make install
- name: Create .env file
run: |
Expand Down
9 changes: 0 additions & 9 deletions omim2obo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,6 @@ def omim2obo(use_cache: bool = False):
if len(exact_labels) > 1:
abbr = exact_labels.pop()
graph.add((omim_uri, oboInOwl.hasExactSynonym, Literal(abbr)))

axiom_id = DeterministicBNode(abbr)
graph.add((axiom_id, RDF.type, OWL.Axiom))
# What's CL['0017543'] - joeflack4 2021/11/11
graph.add((axiom_id, OWL.annotatedSource, CL['0017543']))
graph.add((axiom_id, OWL.annotatedProperty, oboInOwl.hasExactSynonym))
graph.add((axiom_id, OWL.annotatedTarget, Literal(abbr)))
graph.add((axiom_id, oboInOwl.hasSynonymType, MONDONS.ABBREVIATION))

for exact_label in exact_labels:
graph.add((omim_uri, oboInOwl.hasExactSynonym, Literal(label_cleaner.clean(exact_label, abbrev))))
for label in other_labels:
Expand Down

0 comments on commit a4ec92f

Please sign in to comment.