Chemical-Curation / chemcurator_django

Backend services for chemical curation
https://api.chemreg.epa.gov
MIT License
1 stars 0 forks source link

mapping of records to substances #237

Open cmgrulke opened 3 years ago

cmgrulke commented 3 years ago

As a user I want records that are posted without a mapped substance, automated mapping needs to occur So that the record mapping to substance is available for me

POST https://api.chemreg.epa.gov/records

Acceptance Criteria: For each record identifier search the resolution API Aggregate the potential hits by substance across the set of record identifiers and sum the score then select the substance with the highest score insert the substance, score, and mapping reason into the persisted record