Skip to content

Commit

Permalink
Merge pull request #958 from allenbaron/symp
Browse files Browse the repository at this point in the history
Add generic fallback for SYMP
  • Loading branch information
jamesaoverton authored Dec 15, 2023
2 parents a81fa8c + bf83079 commit 80bd5a7
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 80bd5a7

Please sign in to comment.