Skip to content

Commit

Permalink
Merge pull request #957 from allenbaron/disdriv
Browse files Browse the repository at this point in the history
Update DISDRIV purl redirects
  • Loading branch information
jamesaoverton authored Dec 15, 2023
2 parents 6a49915 + 7f1cfc3 commit a81fa8c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions config/disdriv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,24 @@
idspace: DISDRIV
base_url: /obo/disdriv


products:
- disdriv.owl: https://raw.githubusercontent.com/DiseaseOntology/DiseaseDriversOntology/main/src/ontology/releases/disdriv.owl
- disdriv.owl: https://raw.githubusercontent.com/DiseaseOntology/DiseaseDriversOntology/main/src/ontology/disdriv.owl

term_browser: ontobee
example_terms:
- DISDRIV_0000002

entries:

- regex: ^/obo/disdriv/releases/([^\s/]+)/(\S+)$
replacement: https://raw.githubusercontent.com/DiseaseOntology/DiseaseDriversOntology/v$1/src/ontology/$2
tests:
- from: /releases/2023-12-15/disdriv.owl
to: https://raw.githubusercontent.com/DiseaseOntology/DiseaseDriversOntology/v2023-12-15/src/ontology/disdriv.owl

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

0 comments on commit a81fa8c

Please sign in to comment.