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

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

Open
ivanmaslow opened this issue Sep 26, 2024 · 0 comments
Labels
Bug Export to RXN Bucket: Export to RXN related issues Priority: Low Reactions

Comments

@ivanmaslow
Copy link
Collaborator

ivanmaslow commented Sep 26, 2024

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

@ivanmaslow ivanmaslow added Bug Priority: Low Export to RXN Bucket: Export to RXN related issues Reactions labels Sep 26, 2024
@ivanmaslow ivanmaslow added this to the Indigo-1.25.0-rc.1 milestone Sep 26, 2024
@ivanmaslow ivanmaslow changed the title Issues with loading from MOL V2000 molecule with 0 coordinates Molecule with 0 coordinates in MOL V2000 is displayed incorrectly on Canvas after loading Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Export to RXN Bucket: Export to RXN related issues Priority: Low Reactions
Projects
None yet
Development

No branches or pull requests

2 participants