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

Stereocenter should disappear after replacing the stereobond with the dative bond or the double cis/trans bond. #554

Closed
Svetlana-Asinovskaia opened this issue May 31, 2021 · 1 comment · Fixed by #575

Comments

@Svetlana-Asinovskaia
Copy link
Collaborator

Tested on Ketcher v2.2.1-123-gea6bc4d0

Steps to reproduce:

  1. Launch Ketcher.
  2. Create a structure on the canvas (e.g. chain).
  3. Sprout a Single Up/Single Down/Single Up/Down bond from one of the atoms.
  4. Replace the stereobond with the dative bond or the double cis/trans bond.

Expected result: The stereobond is replaced with the dative bond or the double cis/trans bond. No stereoflag and stereomarks are present on the canvas. It's not possible to open the "Enhanced Stereochemistry" window and assign the stereomarks.

Actual result: The stereobond is replaced with the dative bond or the double cis/trans bond. Stereoflag is present on the canvas. It's possible to open the "Enhanced Stereochemistry" window and assign the stereomarks.

image
image

@Svetlana-Asinovskaia Svetlana-Asinovskaia added this to the Backlog milestone May 31, 2021
@Svetlana-Asinovskaia Svetlana-Asinovskaia changed the title Stereocenter doesn't disappear after replacing the stereobond with the dative bond or the double cis/trans bond. Stereocenter should disappear after replacing the stereobond with the dative bond or the double cis/trans bond. May 31, 2021
@AndreiMazol AndreiMazol modified the milestones: Backlog, Release 2.3.0 Jun 3, 2021
AndreiMazol added a commit that referenced this issue Jun 7, 2021
…h the dative bond or the double cis/trans bond (#575)

* update priority of operations

* fix flipping of dative bonds

* recalculate stereo flag is cis/trans bond is used

* set AtomAttr priority equals 1
@Svetlana-Asinovskaia
Copy link
Collaborator Author

Release/2.3. The issue is closed as fixed.

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