Indigo
Indigo copied to clipboard
'Calculated values' - Error messages are different in 'Remote' and 'Standalone' modes
Affected versions: Remote, Standalone
Steps to reproduce:
- Launch Ketcher (Remote)
- Execute 'v2/indigo/calculate' with the following parameters: struct Rstruct.zip options: {smart-layout: true, ignore-stereochemistry-errors: true, mass-skip-error-on-pseudoatoms: false,…} properties: ["molecular-weight", "most-abundant-mass", "monoisotopic-mass", "gross", "mass-composition"]
- Repeat steps 1-2 in Standalone mode
Expected result: Error messages are the same in Remote and Standalone modes. Actual result: Remote mode - 'error: Cannot calculate mass for structure with pseudoatoms, template atoms or RSites'. Standalone mode - 'mass: Cannot calculate mass for structure with pseudoatoms, template atoms or RSites'.
Related issue: https://github.com/epam/ketcher/issues/427
Since WASM (Standalone) version is completely reworked against server version, don't expect the literal match of error texts! Checking and its errors were redesigned and reworked as well. Just check that the errors are (1) justified and proper for corresponding case, (2) enough clear and properly formulated.
fixed in 1.8.0