Restore HAO custom term redirects
reverts
fixes
@@ -52,6 +52,14 @@ entries:
- from: /FLOPO_0000000
to: http://aber-owl.net/ontology/FLOPO#!http://purl.obolibrary.org/obo/FLOPO_0000000
+# Term redirects for HAO
+- regex: ^/obo/HAO_(\d+)$
+ replacement: http://api.hymao.org/api/ontology/ontology_class/HAO_$1
+ status: see other
+ tests:
+ - from: /HAO_0000000
+ to: http://api.hymao.org/api/ontology/ontology_class/HAO_0000000
+
# Term redirects for PR
# Match digits or UniProt ID, see http://www.uniprot.org/help/accession_numbers
- regex: ^/obo/PR_(\d+|[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2})$
