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

Distorted structure representation when opening saved macromolecules in micro mode in CML, CDX, CDXML, Base 64 CDX formats #2523

Open
Zhirnoff opened this issue Oct 7, 2024 · 0 comments
Labels
CML Bucket: CML format related issues Export to CDX Bucket: Bugs related to Export to CDX Export to CDXML Bucket: Bugs related to Export to CDXML Macro-Micro Bucket: Switching between Micro and Macro modes Priority: High

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Oct 7, 2024

Steps to Reproduce

  1. Open file in Macro mode (Flex mode) monomers-cycled.zip
  2. Switch to Micro mode
    2024-10-07_19h16_31
  3. Save as CML, CDX, CDXML, Base 64 CDX
  4. Open saved files

Actual behavior
Upon reopening the CML, CDX, CDXML, Base 64 CDX0 files, the structure appears distorted, with bonds incorrectly placed, resulting in a non-cyclic structure (as shown in the screenshot). The original intended shape and arrangement of monomers are lost.
2024-10-07_19h16_21
Screen from CDX also not fine:
image

Expected behavior
The saved structure should maintain its original form upon reopening, appearing as a cyclic structure similar to the screenshot.

2024-10-07_19h16_31

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.26.0-rc.1]
Indigo version
[Version 1.25.0-rc.1]
Bug found during testing: epam/ketcher#5400

@Zhirnoff Zhirnoff added Priority: High Macro-Micro Bucket: Switching between Micro and Macro modes CML Bucket: CML format related issues Export to CDXML Bucket: Bugs related to Export to CDXML Export to CDX Bucket: Bugs related to Export to CDX labels Oct 7, 2024
@Zhirnoff Zhirnoff added this to the Indigo-1.25.0-rc.2 milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CML Bucket: CML format related issues Export to CDX Bucket: Bugs related to Export to CDX Export to CDXML Bucket: Bugs related to Export to CDXML Macro-Micro Bucket: Switching between Micro and Macro modes Priority: High
Projects
None yet
Development

No branches or pull requests

3 participants