Skip to content

Commit

Permalink
Merge pull request #1023 from OBOFoundry/fix-1018-again
Browse files Browse the repository at this point in the history
Add extra %-quoting for OBA
  • Loading branch information
jamesaoverton authored Feb 19, 2025
2 parents 36529b7 + c2ec18a commit 099e5df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/obo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,15 @@ entries:

# Term redirects for OBA
# Some OBA IDs start with VT, because they were originally sourced from VT
# We need an extra (ugly) layer of %-quoting here to get the right result.
- regex: ^/obo/OBA_((VT)?\d+)$
replacement: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/OBA_$1
replacement: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FOBA_$1
status: see other
tests:
- from: /OBA_0000001
to: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/OBA_0000001
to: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FOBA_0000001
- from: /OBA_VT0000002
to: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/OBA_VT0000002
to: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FOBA_VT0000002

### OBO Format Specification
- exact: /oboformat/
Expand Down

0 comments on commit 099e5df

Please sign in to comment.