-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using setMolecule with molfile does not rescale bond lengths #3017
Comments
Hi, could you confirm whether this is a bug or if there's a workaround? We just want to be able to set a molfile programmatically and have the drawing be re-scaled. Thanks! |
Hi @mliu49, |
rrodionov91
modified the milestones:
Ketcher 2.19.0-rc.1,
Ketcher 2.20.0-rc.1,
Ketcher 2.19.0-rc.2
Feb 19, 2024
rrodionov91
added a commit
that referenced
this issue
Feb 19, 2024
- added molecules scaling in setMolecule and addFragment api methods.
9 tasks
rrodionov91
added a commit
that referenced
this issue
Feb 20, 2024
…4110) - added molecules scaling in setMolecule and addFragment api methods. --------- Co-authored-by: Roman Rodionov <[email protected]>
rrodionov91
added a commit
that referenced
this issue
Feb 20, 2024
- added molecules scaling in setMolecule and addFragment api methods.
9 tasks
rrodionov91
added a commit
that referenced
this issue
Feb 21, 2024
…nd lengths (#4112) - added molecules scaling in setMolecule and addFragment api methods.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce
Actual behavior
The two benzene rings are different sizes.
Expected behavior
I would expect
setMolecule
to scale the bond length in the same way as the Open... menu.Screenshots
In the image below, first benzene was added with
setMolecule
, second benzene was added via Open... menu button, third benzene was drawn with benzene button.Desktop (please complete the following information):
Ketcher version [e.g. v2.4.2].
Tested in v2.6 and v2.11
The text was updated successfully, but these errors were encountered: