tmoerman / sourire

A minimal web API rendering SMILES molecules
Eclipse Public License 1.0
19 stars 1 forks source link

SMILES loader errors #2

Open tmoerman opened 9 years ago

tmoerman commented 9 years ago

http://localhost:5555/molecule/OCCN1CCN%28CC%2FC%3DC%5C2c3ccccc3Sc4ccc%28Cl%29cc%5C24%29CC1

returns a bad request response:

SMILES loader: cycle 2: closing bond direction does not match pending bond direction

Look into whether GGA Indigo accepts a parameter to suppress this kind of errors and renders a "best effort" molecule.

tmoerman commented 9 years ago

Temporarily fixed with returning a "backup" image...