Add release redirect & update for new release style
Coincides with the Symptom Ontology's move to Github releases
similar to those of the Human Disease Ontology.
@@ -8,7 +8,19 @@ base_redirect: https://github.com/DiseaseOntology/SymptomOntology
products:
- symp.owl: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/main/src/ontology/symp.owl
- symp.obo: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/main/src/ontology/symp.obo
+- symp.json: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/main/src/ontology/symp.json
term_browser: ontobee
example_terms:
- SYMP_0000000
+
+entries:
+
+- regex: ^/obo/symp/releases/([^\s/]+)/(\S+)$
+ replacement: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/v$1/src/ontology/$2
+ tests:
+# need to actually create a release for testing
+ - from: /releases/2022-05-26/symp.owl
+ to: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/v2022-05-26/src/ontology/symp.owl
+ - from: /releases/2022-05-26/symp.obo
+ to: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/v2022-05-26/src/ontology/symp.obo
