Skip to content

System should be able to load unknown monomer on any position #3265

Description

@AlexeyGirin

Steps to Reproduce

  1. Open Macromolecules - Flex mode (clean canvas)
  2. Load from AxoLabs: 5'-(Unknown1)(Unknown2)(Unknown3)-3'

Actual behavior
System throws an error: Convert error! Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'molecule auto loader: SMILES loader: invalid character within atom description: '''', 'scanner: BufferScanner::read() error', 'Ket Document: Template with id '' already added', 'molecule auto loader: SMILES loader: invalid character within atom description: '''', 'molecule auto loader: SMILES loader: invalid character within atom description: '''', 'scanner: BufferScanner::read() error'
Image

Expected behavior
System loads sequence of three unknown monomers
Image

As per requirements:

  1. In case of import, where a symbol with brackets that is not defined in the Ketcher library exist, the monomer should be loaded as an unresolved AxoLab monomer (see ticket)

Environment details:

  • Ketcher Version 3.9.0-rc.1 Build at 2025-10-16; 19:08:29
  • Indigo Version 1.37.0-rc.2.0-gef86e7136-wasm32-wasm-clang-19.0.0
  • Chrome Version 141.0.7390.55 (Official Build) (64-bit)
  • Win10

Related issue: #3152

Activity

  1. added theissue type on Oct 21, 2025
  2. transferred this issue fromepam/ketcheron Oct 21, 2025
  3. added theissue type on Oct 21, 2025
  4. added a commit that references this issue on Nov 10, 2025
  5. added 2 commits that reference this issue on Nov 10, 2025
  6. added 2 commits that reference this issue on Nov 10, 2025
  7. Zhirnoff commented on Nov 12, 2025

    @Zhirnoff
    Collaborator

    Tested. Bug fixed.

    Image

    Desktop:

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

    Ketcher version
    [Version 3.10.0-rc.2]
    Indigo version
    [Version 1.38.0-rc.2]

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

Metadata

Metadata

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions