Skip to content

Molecule with 0 coordinates in MOL V2000 is displayed incorrectly on Canvas after loading #2432

Open
@ivanmaslow

Description

@ivanmaslow

Steps to Reproduce Case 1 - Reactions

  1. Add to Canvas a molecule:
    image
  2. Save to MOL V2000 and MOL V3000
  3. Open MOL document and manually change coordinates to 0.0000:
    image
    Example of files with changed coordinates for RXN V2000, V3000:
    !mol-v2000-0-coordinates.zip
    !mol-v3000-0-coordinates.zip
  4. Add MOL files to Canvas

Actual behavior

  • Molecule is added incorrectly from MOL V2000, user need to click on Layout or Clean Up to see Cyclobutane:
    image
  • Pay attention that it works correctly for adding from MOL V3000:
    image

Expected behavior

  • Element with 0 coordinates can be added from MOL V2000 and MOL V3000 and displayed correctly:
    image

Additional Context for separate molecules

  • Pay attention that it works correctly for separate molecules with 0 coordinates in MOL V3000:

Environment details

  • Tested on RC SA env
  • Ketcher [Version 2.25.0-rc.5] Build at 2024-09-24; 18:17:25
  • Indigo Version Version 1.24.0-rc.4.0-gdf51dc428-wasm32-wasm-clang-19.0.0
  • Desktop Windows 11 Enterprise
  • Chrome Version 129.0.6668.70 (Official Build) (64-bit)

Notes

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions