OLS icon indicating copy to clipboard operation
OLS copied to clipboard

CURIEs are not handled correctly where term ids have multiple underscores

Open matentzn opened this issue 5 years ago • 2 comments

Lets say we have a IRI like: https://purl.ihccglobal.org/GCS_drugfrequency_7 OLS falsely assumes that this terms CURIE is: GCS_drugfrequency:7. I dont mind how this is solved, but one idea would be to use the base_uri field; or make it somehow easier to pass in custom curie_maps without having to copy-paste the huge GO curie map.

matentzn avatar Aug 15 '20 17:08 matentzn

Can you please provide steps to reproduce the problem in OLS?

henrietteharmse avatar Nov 13 '20 10:11 henrietteharmse

I am not sure whether there is such a case in OLS proper - I discovered it in one of our satellite instances; if so I wouldn't know how to find it. Could you do a search over the database for IRIs with more than one _ (I would, but I don't have access)?

matentzn avatar Nov 13 '20 11:11 matentzn