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

Cannot add to Convas saved in the Ketcher CDX file with Bond structures #1776

Closed
NadezhdaPeskun opened this issue Mar 5, 2024 · 1 comment · Fixed by #1785
Closed

Cannot add to Convas saved in the Ketcher CDX file with Bond structures #1776

NadezhdaPeskun opened this issue Mar 5, 2024 · 1 comment · Fixed by #1785
Assignees
Labels
Bug CDX-ChemDraw Bucket: Save/View/Open of CDX forrmat related issues Priority: High

Comments

@NadezhdaPeskun
Copy link
Collaborator

NadezhdaPeskun commented Mar 5, 2024

Steps to Reproduce

  1. Use Indigo library (Bingo cartridge). Describe environment
  2. Add to Canvas Bond elements (OR open 0 CDX Bonds ketcher 1.ket )
  3. Save >> select CDX
  4. Try to open saved CDX file

Expected behavior
We should be able to open saved in the Ketcher CDX file and all structure should be visible as well as saved.

Actual behavior
Cannot display content in the Save Structure dialog for any Bond while we Save to CDX converts.
Error Message while we try to open saved CDX file in the Ketcher.
Convert error! Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'unordered_map::at: key not found', 'unordered_map::at: key not found', 'unordered_map::at: key not found', 'unordered_map::at: key not found'

Kindly see pictures and wrong CDX file in attachment files.

Possible related with #1775
#1777

Attachments
KET 0 CDX Bonds ketcher 1.zip
CDX 0 CDX Bonds ketcher 1 (CDX).zip
CDX (2)1 CDX Bonds ketcher ERROR.zip
1 CDX Bonds Screenshot 2024-03-05 120534
1 CDX Bonds Screenshot Error

Environment details:
• [Version 2.19.0-rc.1] Build at 2024-02-19; 15:44:02
• [Indigo Toolkit] Version 1.18.0-rc.7.0-g8a5c36802-wasm32-wasm-clang-12.0.0
• OS: Windows 11
• Browser Edge
• Version 122.0.2365.59 (Official build) (64-bit)

@AlexeyGirin
Copy link
Collaborator

Fixed.
image

  • Windows 10
  • Сhrome Version: (122.0.6261.95) x64
  • Ketcher version 2.19.0-rc.1
  • Indigo Version 1.18.0-rc.6.0-g98bf384e0-x86_64-linux-gnu-11.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CDX-ChemDraw Bucket: Save/View/Open of CDX forrmat related issues Priority: High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants