Chemical-Curation / chemcurator_django

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

DefinedCompound calculated attributes error management #306

Closed cmgrulke closed 3 years ago

cmgrulke commented 3 years ago

As a curator I want errors that happen in when generating the definedcompound calculated features to cause those features that error to be left empty in the response So that such calculation errors will not prevent me from being able to work with a definedcompound

An example of such an error is referenced in the vuejs repo as a comment to this ticket: https://github.com/Chemical-Curation/chemcurator_vuejs/issues/134#issuecomment-743950353.

Acceptance Criteria: Errors that happen in when generating the definedcompound calculated features (smiles, formula, weight, calculated inchikey) should result in that value not being put in the response; however, the response should still have a successful status and return the rest of the resource correctly.

Acceptance Criteria: