Skip to content

Aromatic [o+] in chromenylium is not supported #279

@pechersky

Description

@pechersky

We were training a model to recognize dyes, and it failed on Q-Switch 5. Is there a way to expand the list of acceptable tokens?

ValueError: Tokens {'[o+]'} in c1c(-c2[o+]c3c(c(-c4ccccc4)c2)CCCC3=CC2=CC(=CC3=C4C(=C(c5ccccc5)C=C(c5ccccc5)O4)CCC3)CCC2)cccc1 are not supported by the model
Allowed tokens are: ({'1', 's', '[n+]', '2', ')', '=', 'C', '7', '[N+]', '[nH]', '[S+]', 'n', '(', '%10', '3', 'O', '^', 'S', 'c', '5', '#', '[N-]', '8', 'Br', 'o', '6', '4', 'Cl', '-', 'N', '[O-]', '$', '9', 'F'}, set())
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions