geneontology / go-fastapi

https://api.geneontology.org/
4 stars 3 forks source link

API should accept MGI:MGI:xyz and MGI:xyz but only return MGI:xyz in endpoints #48

Closed sierra-moxon closed 1 year ago

sierra-moxon commented 1 year ago

e.g.: both of these should work: https://api-sierra.geneontology.io/api/gp/MGI:1930134/models https://api-sierra.geneontology.io/api/gp/MGI:MGI:1930134/models

per discussion with Seth and Patrick in slack, GO-API should accept MGI:MGI: or MGI:, but return MGI:xyz consistently.

sierra-moxon commented 1 year ago

resolved in: https://github.com/geneontology/go-fastapi/pull/45