From 6662eb451e139b2e11d24bc9ca5e9d171eba5190 Mon Sep 17 00:00:00 2001 From: joeflack4 Date: Sun, 18 Jun 2023 18:39:25 -0400 Subject: [PATCH] - Bugfix: Delete: Axioms involving CL:17543 which include information about synonym abbreviations. (somehow this code came back) --- omim2obo/main.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/omim2obo/main.py b/omim2obo/main.py index 78c30f8..5b3f67d 100644 --- a/omim2obo/main.py +++ b/omim2obo/main.py @@ -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: