Open ericmuckley opened 2 years ago
Dear @ericmuckley ,
please attach original file to reproduce your issue locally.
Regards, Andrei
When I read the text in this file as a string called molfile
, and then use the command ketcher.setMolecule(molfile)
, the element labels appear offset from their actual locations.
Dear @ericmuckley ,
the issue is not reproducible on our environment. Could you check if it is reproduced after update to version 2.5.0?
Hi Andrei, I just upgraded to version 2.5.0 and the issue is still happening.
The molecule is generated using ketcher.setMolecule(molfile)
where molfile
is the contents of the ketcher.txt
file I attached above. Is there anything else I can try?
Dear @ericmuckley
We could not reproduce, even on exactly the same environment, this error, perhaps the problem is local
Maybe the problem will be fixed in the next versions of the catcher
Steps to Reproduce
ketcher.setMolecule(molfile)
with amolfile
stringExpected behavior The structure appears with atom labels next to the corresponding atoms.
Actual behavior The structure appears with atom labels vertically offset from the atoms. Once one of the atoms is moved, the labels re-adjust and the offset is fixed.
Desktop (please complete the following information):
https://user-images.githubusercontent.com/22535087/171460184-e37268e5-9d84-4d57-bfa3-e9c31653d369.mp4
Ketcher version v2.4.0.