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

#2765 - Introduce to .ket file specification attachment point information for super atoms #2919

Conversation

kaluginserg
Copy link
Collaborator

@kaluginserg kaluginserg commented Jul 13, 2023

closed #2765

How the feature works? / How did you fix the issue?

  • ability to open .ket file with sgroup attachment points
  • ability to save to .ket file with sgroup attachment points

in the PR also updated the internal model name for the sgrouAttachmentPoint additionalData >> attachmentId to have better alignment with ket format specification (/packages/ketcher-core/src/domain/serializers/ket/schema.json)

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"

@kaluginserg kaluginserg self-assigned this Jul 13, 2023
@auto-assign auto-assign bot requested review from Iogsotot and yuleicul July 13, 2023 09:44
@@ -18,6 +18,7 @@ import { Atom, Bond, SGroup, Struct } from 'domain/entities';

import { Elements } from 'domain/constants';
import { ifDef } from 'utilities';
import { SGroupAttachmentPoint } from 'domain/entities/sGroupAttachmentPoint';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For clean imports, maybe we can:

// domain/entities/index.ts
export * from './sGroupAttachmentPoint';
// moleculeToStruct.ts
import { Atom, Bond, SGroup, Struct, SGroupAttachmentPoint } from 'domain/entities';

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@kaluginserg kaluginserg requested a review from yuleicul July 14, 2023 13:21
@Nitvex Nitvex changed the title #2765 - introduce to .ket file specification attachment point informa… #2765 - Introduce to .ket file specification attachment point information for super atoms Jul 18, 2023
…int_information_for_super_atoms' of https://github.com/epam/ketcher into #2765-introduce_to_ket_file_specification_attachment_point_information_for_super_atoms
@Nitvex Nitvex merged commit 2d9d789 into master Jul 18, 2023
@Nitvex Nitvex deleted the #2765-introduce_to_ket_file_specification_attachment_point_information_for_super_atoms branch July 18, 2023 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce to .ket file specification attachment point information for super atoms
3 participants