Skip to content

Commit

Permalink
Add generic fallback for SYMP
Browse files Browse the repository at this point in the history
  • Loading branch information
allenbaron committed Dec 14, 2023
1 parent 6a49915 commit bf83079
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/symp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ 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

# generic fall-back (rules processed in order = keep at bottom)
- prefix: /
replacement: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/main/src/ontology/
tests:
- from: /symp.json
to: https://raw.githubusercontent.com/DiseaseOntology/SymptomOntology/main/src/ontology/symp.json

0 comments on commit bf83079

Please sign in to comment.