Recaculating coordinates breaks rendering of stereo chem#33
Conversation
inside the mol. Setting prepareMolsBeforeDrawing seems to fix this
|
Thanks. This fix is for the viewer only. Do you have a sense of what is wrong/needs updating on the edit mol object itself? The ideal is to let the depiction be reflecting the edit mol state as close as possible. |
|
Inside the render logic it calls wedgeMolBonds which probably fixes the problem. The worrying part is we don’t know why it broke. Upstream probably needs some sort of fix. Unfortunately I can’t make heads or tails of their code. There’s way too much spaghetti |
|
I've added the drawing setting as default to the newly exposed settings in #36. I seem to specifically have set it for False in the past, but can't remember exactly why. I think because I wanted to display the molecular graph as close to the actual state as possible and not some automatically fixed one. |
When recalculating coordinates some of the stereo chem is not updated inside the mol. Setting prepareMolsBeforeDrawing seems to fix this.
This fixes issues #24 and #27