Chemical-Curation / chemcurator_django

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

309 compound substance view #319

Closed debboutr closed 3 years ago

debboutr commented 3 years ago

this branch moves us away from using the filter on Substance view and creates a viewset in the resolution app to return both compounds and substances given a search term. The tests I've added aren't all that comprehensive, but I am imagining that an e2e test will come when we implement this in vue.

just added a synonym fixture to this branch so the result of both will show up here... http://127.0.0.1:8000/resolution?search=PXGOKWXKJXAPGV-UHFFFAOYSA-N