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
Consider this input mol. It has to be a mol block because of the zero bonds, which are not supported on SMILES. They are actually non standard on mol blocks too!
This is happening inside WedgeMolBonds(), when we try to find a bond to wedge for the dummy atom: as it only has zero bonds, of course, we can't find a single bond we can wedge to encode the parity in the mol block.
The text was updated successfully, but these errors were encountered:
* Fixes#5196
This fixes the bug as reported, but there's more work to do in order to get the other cases
* cleanup
* fix assignStereochemistry()
* Fixes#5200
* move those functions to the public API
* fix assignStereochemistry
* cleanup
* refactoring in response to review
I'm seeing the following using current master:
Consider this input mol. It has to be a mol block because of the zero bonds, which are not supported on SMILES. They are actually non standard on mol blocks too!
Up to this point, things are fine:
But if we assign stereo, we start seeing weird things:
RDkit found 5 chiral atoms: 4 C atoms with 1 implicit H + 1 single + 1 double + 1 zero bonds, and the dummy atom, with 4 zero bonds (!!!!).
And here is where things explode:
This is happening inside
WedgeMolBonds()
, when we try to find a bond to wedge for the dummy atom: as it only has zero bonds, of course, we can't find a single bond we can wedge to encode the parity in the mol block.The text was updated successfully, but these errors were encountered: