From e18c5d90a1a99d5cd77073ffaef6a4d264f83dcc Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Sat, 24 Aug 2024 14:48:52 +0300 Subject: [PATCH] Hot fix deprecation fixer --- src/ontology/mondo.Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ontology/mondo.Makefile b/src/ontology/mondo.Makefile index acd723e3a7..627f7594f5 100644 --- a/src/ontology/mondo.Makefile +++ b/src/ontology/mondo.Makefile @@ -1018,6 +1018,7 @@ deprecated_annotation_merging: sed -i 's/source="MONDO:equivalentObsolete",\ source="MONDO:equivalentTo"/source="MONDO:equivalentObsolete"/g' mondo-edit.obo || true sed -i 's/\(.*\)source="MONDO:equivalentObsolete"\(.*\)source="MONDO:obsoleteEquivalentObsolete"\(.*\)/\1source="MONDO:obsoleteEquivalentObsolete"\2\3/g' mondo-edit.obo || true sed -i 's/, }/}/g' mondo-edit.obo || true + sed -i 's/, ,/,/g' mondo-edit.obo || true echo "NOTE: There are still some broken cases that need to be manually fixed. Search for `quivalent.*quivalent` (no E) in case sensitive regex mode in Atom or Visual Studio" #ANNOTATION_PROPERTIES=rdfs:label IAO:0000115 IAO:0000116 IAO:0000111 oboInOwl:hasDbXref rdfs:comment