Skip to content

conversion of SMILES to Labels fails for some adsorbates #2850

@bjkreitz

Description

@bjkreitz

Bug Description

When generating a mechanism with RMG for a surface catalyzed reaction, RMG does not accurately convert the SMILES string of some species to the label. See the image below

Image

The expected labels would be H2X(18) instead of [H][H].Pt and COHX(22) instead of O[C]#Pt. It works in most cases and I wasn't able to find a pattern among the species where it doesn't work.

This leads to some weird formatting in the YAML files, but it is still possible to work with it.

Image Image

Installation Information

Describe your installation method and system information.

  • OS: macOS 15.6.1
  • Installation method: installation from source
  • RMG version information:
    • RMG-Py: 3.3.0-28-ge85242a7f
    • RMG-database: 3.3.0

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