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

Inconsistent display of a separate phosphate in the sequence representation in the Sequence mode #4607

Closed
ViktoriaTkacheva opened this issue May 10, 2024 · 1 comment · Fixed by #4766
Assignees
Labels

Comments

@ViktoriaTkacheva
Copy link
Collaborator

ViktoriaTkacheva commented May 10, 2024

Steps to Reproduce

  1. Switch to the Macro mode

  2. Open this file Separate p in sequence.zip
    image

  3. Switch to the Sequence mode
    image

  4. Add one more nucleotide at the end of the sequence
    image

Actual behavior
The phosphate is displayed as “p”

Expected behavior

  1. Single phosphate that is not a part of nucleotide (in the middle of the chain) or nucleoside (at the end of the chain) should be displayed as 'p' in sequence mode.
  2. A group of multiple (more or equal than two) phosphates should be displayed as '@'.
    Images for better understanding:

Desktop (please complete the following information):

  • OS: Windows 10 Pro (version 22H2) x64
  • Browser: Сhrome
  • Version: (124.0.6367.92) x64

Ketcher version 2.21.0-rc.2, Build at 2024-05-10; 05:30:51

Issue found while testing #3734

@ViktoriaTkacheva ViktoriaTkacheva added this to the Ketcher 2.23.0-rc.1 milestone May 10, 2024
@DmitriiP-EPAM DmitriiP-EPAM self-assigned this Jun 5, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 6, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 6, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 12, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 12, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 13, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
DmitriiP-EPAM added a commit that referenced this issue Jun 14, 2024
rrodionov91 pushed a commit that referenced this issue Jun 14, 2024
…representation in the Sequence mode (#4766)

- correct isValidNucleoside() and isValidNucleotide()
- correct the definition of individual phosphate and linker
@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Jul 3, 2024

Tested. Bug fixed.

2024-07-03_14h43_16

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 124.0.6367.79 (Official Build) (64-bit)

Ketcher version
[Version 2.23.0-rc.1]
Indigo version
[Version 1.22.0-rc.1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants