Skip to content
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

Save to CDX converts plus and arrow into lone pair and line #1773

Closed
AlexeyGirin opened this issue Mar 4, 2024 · 2 comments · Fixed by #1841, #1842, #1887 or #1888
Closed

Save to CDX converts plus and arrow into lone pair and line #1773

AlexeyGirin opened this issue Mar 4, 2024 · 2 comments · Fixed by #1841, #1842, #1887 or #1888

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Mar 4, 2024

Describe the bug
Save to CDX converts plus into lone pair

Steps to Reproduce

  1. Put on the canvas following SMILE: [HH].O>>O
  2. Save to CDX format file
  3. Open it in ChemDraw (ver 15 in my case)

Actual behavior
System converts plus and arrow into lone pair and line
image

Expected behavior
Plus and arrow remain unchanged
image

Environment details (please complete the following information):

  • Indigo Toolkit Version 1.18.0-rc.9.0-gc7efb4e71-wasm32-wasm-clang-12.0.0
  • Ketcher Version 2.18.0-rc9 Build at 2024-02-27; 16:16:47
  • Chrome Version 122.0.6261.70 (Official Build) (64-bit)
  • Win10
@AlexeyGirin
Copy link
Collaborator Author

AlexeyGirin commented Mar 28, 2024

Not fully fixed.
image
System now loads "+" instead of ":" - this is good (to be correct - if we past same smile to ChemDraw - it uses different plus, but this is acceptable)
As for the arrow - it shown as plain line, not arrow.
Please make it arrow to make it look close to the reference
image

  • Indigo Toolkit Version 1.19.0-rc.2.0-g6c0e3fecf-x86_64-linux-gnu-11.2.1
  • Ketcher Version 2.20.0-rc2 Build at 2024-03-27; 08:30:51
  • Chrome Version 122.0.6261.70 (Official Build) (64-bit)
  • Win10

@AlexeyGirin
Copy link
Collaborator Author

Fixed.
image

  • Indigo Toolkit Version 1.19.0-rc.3.0-gf2d7689b-wasm32-wasm-clang-12.0.0
  • Ketcher Version 2.20.0-rc2 Build at 2024-04-04; 11:31:49
  • Chrome Version 122.0.6261.70 (Official Build) (64-bit)
  • Win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment