Skip to content

Commit

Permalink
Hot fix deprecation fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Aug 24, 2024
1 parent 5ef7800 commit e18c5d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ontology/mondo.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e18c5d9

Please sign in to comment.