the webservice should handle old and new HMDB identifiers
egonw opened this issue · comments
That is, the following two links should return the same attributes:
- https://webservice.bridgedb.org/Human/attributes/Ch/HMDB0000108
- https://webservice.bridgedb.org/Human/attributes/Ch/HMDB00108
(right now, one does not return anything at all)
The solution is in the webservice Java code check which one it uses, and change it to the style that does return attributes. Search for HMDB00 in the BridgeDb code to see how we did this elsewhere: bridgedb/create-bridgedb-metabolites@aef2f38
Fixed HMDB new identifiers bug: #5