epam / epam/Indigo

Radicals in InChi and InChi Auxinfo formats

Open
#292 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

Caused by https://github.com/epam/Indigo/issues/3890
Please check if radicals could be correctly stored in both InChi or InChi Auxinfo formats.
**Steps to reproduce**
1.Send POST request to https://lifescience.opensource.epam.com/v2/indigo/convert
with payload
`{"struct":"\n Ketcher 1132117332D 1 1.00000 0.00000 0\n\n 5 4 0 0 0 999 V2000\n 1.3750 -2.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2.3160 -2.6250 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 3.1071 -2.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 3.9731 -2.6000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 4.8391 -2.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1 2 1 0 0 0\n 2 3 1 0 0 0\n 3 4 1 0 0 0\n 4 5 1 0 0 0\nM RAD 3 2 2 3 1 4 3\nM END\n","output_format":"chemical/x-inchi-aux","options":{"smart-layout":true,"ignore-stereochemistry-errors":true,"mass-skip-error-on-pseudoatoms":false,"gross-formula-add-rsites":true,"gross-formula-add-isotopes":true}}`
2. Use the response from first and convert it back
send POST to https://lifescience.opensource.epam.com/v2/indigo/layout
with payload
`{"struct":"InChI=1S/C5H7/c1-3-5-4-2/h3H,1-2H3\nAuxInfo=1/0/N:1,5,2,4,3/CRV:3d,4t,5t/rA:5CC.2C.3C.3C/rB:s1;s2;s3;s4;/rC:1.375,-2.1,0;2.316,-2.625,0;3.1071,-2.1,0;3.9731,-2.6,0;4.8391,-2.1,0;","output_format":"chemical/x-mdl-molfile","options":{"smart-layout":true,"ignore-stereochemistry-errors":true,"mass-skip-error-on-pseudoatoms":false,"gross-formula-add-rsites":true}}`

**Actual result**
Radicals are replaced with other radicals or with charge.

**Expected result**
Radicals converted correctly and stored as is

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.