Skip to content

Commit

Permalink
Merge pull request #649 from balhoff/patch-15
Browse files Browse the repository at this point in the history
Enable resolution of CHEBI version IRIs
  • Loading branch information
jamesaoverton authored Apr 24, 2020
2 parents 83bc253 + 0d6d360 commit ccbd91b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/chebi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ entries:
- from: /about/CHEBI_15377
to: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI_15377

- regex: ^/obo/chebi/(\d+)/(.+)$
replacement: http://ftp.ebi.ac.uk/pub/databases/chebi/archive/rel$1/ontology/$2
tests:
- from: /186/chebi.owl
to: http://ftp.ebi.ac.uk/pub/databases/chebi/archive/rel186/ontology/chebi.owl

## generic fall-through, serve direct from github by default
- prefix: /
replacement: http://ftp.ebi.ac.uk/pub/databases/chebi/ontology/

0 comments on commit ccbd91b

Please sign in to comment.