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

Indigo functions doesn't work prorerly: Aromatize, Dearomatize, Layout, Clean Up, Hydrogens, Auto-Mapping Tool #2422

Closed
ivanmaslow opened this issue Sep 24, 2024 · 2 comments · Fixed by #2548
Assignees
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High

Comments

@ivanmaslow
Copy link
Collaborator

ivanmaslow commented Sep 24, 2024

Steps to Reproduce

  1. Add a reaction with Benzene Rings and Multi-Tailed Arrow:
  2. Corrupt one Benzene Ring:
    image
  3. Click on Indigo actions: Aromatize, Dearomatize, Layout, Clean Up, Hydrogens, Auto-Mapping Tool:
    image
    image

Actual behavior

  • When clicking on Aromatize/Dearomatize - nothing happens
  • When clicking on Layout - reaction is moved to the center, arrows are changed sizes, but benzene ring is still corrupted:
    image
  • When clicking on Clean Up - nothing happens, benzene ring is still corrupted
  • When clicking on Add/Remove Explicit Hydrogens - nothing happens
  • When clicking on Reaction Auto-Mapping Tool - error message "array: invalid index 1 (size=0)" is displayed:
    image

Expected behavior

  • When clicking on Aromatize/Dearomatize - benzene rings are aromatized/dearomatized for separate benzene ring

  • When clicking on Layout - benzene ring is fixed, arrows sized are changed, reaction is moved to the center

  • When clicking on Clean up - benzene ring is fixed, all elements are on the same positions

  • When clicking on Add/Remove Explicit Hydrogens - hydrogens are added/removed as it works for separate benzene ring

  • When clicking on Reaction Auto-Mapping Tool - it should work as for usual reaction with benzene rings

  • aromatize/dearomatize/cip/calculate props - no changes to layout

  • For layout for each molecule call layout separately. Tree (margin components, arrow size, etc) is recalculated

  • For clean-up for each molecule call clean-up separately. Tree is not recalculated

Environment details

  • Tested on CI-CD 2237-detect-pathway SA environment
  • Ketcher [Version 2.25.0-rc.2] Build at 2024-09-24; 02:30:35
  • Indigo Version 1.25.0-dev.1.58-ga966745f-wasm32-wasm-clang-12.0.0
  • Windows 11 Enterprise
  • Chrome Version 129.0.6668.59 (Official Build) (64-bit)

Notes

@ivanmaslow ivanmaslow added Bug Priority: High Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes labels Sep 24, 2024
@ivanmaslow ivanmaslow added this to the Indigo-1.25.0-rc.1 milestone Sep 24, 2024
@ivanmaslow ivanmaslow changed the title Preview: Indigo functions doesn't work: Aromatize, Dearomatize, Hydrogens, Auto-Mapping Tool Preview: Indigo functions doesn't work: Aromatize, Dearomatize, Clean Up, Hydrogens, Auto-Mapping Tool Sep 24, 2024
@ivanmaslow ivanmaslow changed the title Preview: Indigo functions doesn't work: Aromatize, Dearomatize, Clean Up, Hydrogens, Auto-Mapping Tool Preview: Indigo functions doesn't work prorerly: Aromatize, Dearomatize, Layout, Clean Up, Hydrogens, Auto-Mapping Tool Sep 24, 2024
@ivanmaslow ivanmaslow changed the title Preview: Indigo functions doesn't work prorerly: Aromatize, Dearomatize, Layout, Clean Up, Hydrogens, Auto-Mapping Tool Indigo functions doesn't work prorerly: Aromatize, Dearomatize, Layout, Clean Up, Hydrogens, Auto-Mapping Tool Oct 4, 2024
AlexanderSavelyev pushed a commit that referenced this issue Oct 14, 2024
…e, Layout, Clean Up, Hydrogens, Auto-Mapping Tool (#2548)
AliaksandrDziarkach added a commit that referenced this issue Oct 14, 2024
…ze, Layout, Clean Up, Hydrogens, Auto-Mapping Tool

Cherry-pick fix into release 1.25
AlexanderSavelyev pushed a commit that referenced this issue Oct 14, 2024
…ze, Layout, Clean Up, Hydrogens, Auto-Mapping Tool (#2553)
@ivanmaslow
Copy link
Collaborator Author

Exploratory testing is completed on Remote env:

  • Ketcher [Version 2.26.0-rc.3] Build at 2024-10-16; 14:42:10
  • Indigo Version 1.25.0-rc.2.0-g867ae250b-x86_64-linux-gnu-11.2.1
  • Desktop, Windows 11 Enterprise
  • Chrome Version 130.0.6723.59 (Official Build) (64-bit)

Tests below are completed and updated in xls:

All detected defects should be automated after fixing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High
Projects
None yet
3 participants