Skip to content

Polymers with a leaving group on one side and a * on the other side are not supported #253

Open

Description

@gblanke02

Motivation

Image

In this polymer the starting material is known (drawn left from the polymer bracket) while the end on theright cannotbe represented by a structure or is unkown, therefore you find a *atom at this end.

InChI 1.07.5 with polymer option:
Error message:

Polymer C12H162N.mol.txt

InChI options: -Polymers -NPZz
Error 77 (CRU folding and frame shift analysis failed; Invalid pseudo element(s) bonding)

Proposed solution

The eft leavinggroup of the polymer (actualy itis the starter material for the poylmer reaction) must be handled by InChI
Folding can only be done within the brackets and must be discussed how this may look like in this case. Oe solution may be to exclude the folding from this type of examples.

Alternatives considered

No response

Additional context

No response

Activity

  1. added
    enhancementNew feature or request
    triageNewly reported, awaiting maintainer review
    on Aug 10, 2026
  2. changed the title [-]Polymers where there a leving group defined on one side of the polymenr while the other side is * are not supported[/-] [+]Polymers with a leaving group on one side and a * on the other side are not supported[/+] on Aug 11, 2026
  3. gblanke02 commented on Nov 17, 2026

    @gblanke02
    ContributorAuthor

    Polymer C12H16N2_corrected.mol.txt
    This molfile is the corected version with A C atom replacing the + atom on the left side

  4. fbaensch-beilstein commented on Nov 17, 2026

    @fbaensch-beilstein
    Collaborator

    @gblanke02 Thanks for the corrected file. With the starter carbon drawn as C, the current dev branch processes it without errors, with -Polymers -NPZz and also with -Polymers alone:

    InChI=1B/C13H16NZz/c1-3-13(2,10-14)12(9-15)11-7-5-4-6-8-11/h4-8,12H,3,9H2,1-2H3/z101-4-9,11-12(13-12,15-9)
    

    The defined end group stays C13 in the /z layer (13-12) and the * end becomes the single Zz (15-9), so a polymer with a known group on one side and * on the other is supported. The Error 77 came from the original file, where the quaternary carbon was a * with four bonds.

    We will add this structure as a regression test so it stays supported, and then close the issue.

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttriageNewly reported, awaiting maintainer review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions