You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
When generating an .svg image with indigo-depict phosphorus_valence.cml, the phosphorus is incorrectly depicted as having a wrong valence of 5. It should have a valence of 3, with no added hydrogens.
Additional context
When adding sgroup bonds, indigo recalculates the valence and implicit hydrogens before it has removed the bond to the atom connecting to the sgroup. So P initially has a valence of 3, then this is raised to 4 when adding the bond to the new sgroup. Once the valence is recalculated, this is increased to 5.
The text was updated successfully, but these errors were encountered:
Summary
When generating an .svg image with indigo-depict phosphorus_valence.cml, the phosphorus is incorrectly depicted as having a wrong valence of 5. It should have a valence of 3, with no added hydrogens.
Steps to Reproduce
Actual behavior
The phosphorus is depicted as having a valence of 5 with two added hydrogens.
Expected behavior
The phosphorus should be depicted as having a valence of 3 with no added hydrogens.
Environment details:
Attachments
phosphorus_valence.cml.txt
Additional context
When adding sgroup bonds, indigo recalculates the valence and implicit hydrogens before it has removed the bond to the atom connecting to the sgroup. So P initially has a valence of 3, then this is raised to 4 when adding the bond to the new sgroup. Once the valence is recalculated, this is increased to 5.
The text was updated successfully, but these errors were encountered: