As a researcher
I want InChI Keys to be calculated by the application when a Defined Compound is created
So that the InChIKey calculation will be standardized and not variable across researchers... Also, I am lazy and don't want to do it myself
Acceptance Criteria:
When I post a v3000 molfile to the API, I receive a response with a generated InChIKey (if successful).
If the inchikey cannot be generated, the input is invalid (415 or 400?) (Message: "InChIKey not computable for provided structure").
As a researcher I want InChI Keys to be calculated by the application when a Defined Compound is created So that the InChIKey calculation will be standardized and not variable across researchers... Also, I am lazy and don't want to do it myself
Request Example
POST https://api.chemreg.epa.gov/defined-compounds/
Acceptance Criteria: When I post a v3000 molfile to the API, I receive a response with a generated InChIKey (if successful). If the inchikey cannot be generated, the input is invalid (415 or 400?) (Message: "InChIKey not computable for provided structure").
Test: