Skip to content

Commit

Permalink
suffoxides
Browse files Browse the repository at this point in the history
  • Loading branch information
even1024 committed Oct 10, 2023
1 parent 65c299c commit 0a56e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/indigo-core/molecule/src/molecule_stereocenters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,8 @@ void MoleculeStereocenters::markBond(BaseMolecule& baseMolecule, int atom_idx)
for (j = 0; j < size; j++)
{
edge_idx = baseMolecule.findEdgeIndex(atom_idx, pyramid[size - 1]);
if (baseMolecule.getBondDirection(edge_idx) == 0 && baseMolecule.getBondOrder(edge_idx) == BOND_SINGLE && baseMolecule.getVertex(pyramid[size - 1]).degree() == 1)
if (baseMolecule.getBondDirection(edge_idx) == 0 && baseMolecule.getBondOrder(edge_idx) == BOND_SINGLE &&
baseMolecule.getVertex(pyramid[size - 1]).degree() == 1)
break;
rotatePyramid(pyramid);
if (size == 4)
Expand Down

0 comments on commit 0a56e18

Please sign in to comment.