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

Macro: Ket file does not include atom numbers associated with the leaving groups after saving #3691

Closed
Zhirnoff opened this issue Dec 13, 2023 · 2 comments · Fixed by #3699
Closed

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Dec 13, 2023

Steps to Reproduce

  1. Switch to Macro mode
  2. Add any monomer on canvas
  3. Save structure in Ket format.
  4. Open saved Ket file and inspect the content of 'attachmentPoints'->'leavingGroup'->'atoms'

Actual behavior
When opening the Ket file, leaving groups information not correctly represented.
Leaving group atom numbers are missing.

2023-12-12_23h02_44

Also r-groups (rg-label) are indicated in the 'atoms' block
2023-12-13_14h24_53

Expected behavior
The Ket file should accurately represent leaving groups.
The leaving group atom should be specified.

2023-12-12_23h02_24

In the 'atoms' block, all r-groups should be replaced with H or O atoms

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 112.0.5615.138 (Official Build) (64-bit)

Ketcher version
Version 2.17.0-rc.1

@Zhirnoff Zhirnoff added this to the Macromolecules Milestone 4 milestone Dec 13, 2023
@Zhirnoff Zhirnoff changed the title Macro: Missing living groups in Ket format after saving Macro: Ket file does not include atom numbers associated with the living groups after saving Dec 13, 2023
@Zhirnoff Zhirnoff changed the title Macro: Ket file does not include atom numbers associated with the living groups after saving Macro: Ket file does not include atom numbers associated with the leaving groups after saving Dec 13, 2023
@Zhirnoff
Copy link
Collaborator Author

Manual and autotest added

rrodionov91 added a commit that referenced this issue Dec 18, 2023
… the leaving groups after saving (#3699)

* fixed attachment points and leaving groups serializing/parsing in ket
* removed naturalAnalogCode property for CHEM-monomers from ket-format
* updated indigo version to 1.17.0-rc.3

---------

Co-authored-by: Roman Rodionov <roman_rodionov@epam.com>
Co-authored-by: Nikita_Vozisov <Nikita_Vozisov@epam.com>
@AlexeyGirin
Copy link
Collaborator

Verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment