Skip to content

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

Open
@Zhirnoff

Description

@Zhirnoff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMLBucket: CML format related issuesExport to CDXBucket: Bugs related to Export to CDXExport to CDXMLBucket: Bugs related to Export to CDXMLMacro-MicroBucket: Switching between Micro and Macro modesPriority: Medium

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions