Skip to content

Bond constraints and KeyError #92

Description

@darthmodel

Hi,

Can someone help me understand how to set up bond constraint? I can't seem to get boltz to correctly parse the yaml file. Here is the constrain section.

constraints:
  - bond:
      atom1: [A, 77, NZ]
      atom2: [C, 1, O72]
  - bond:
      atom1: [A, 8, NZ]
      atom2: [C, 1, O12]

It always ends up with a KeyError on atom1 of the first bond. Is it because constraints are only available through the github repo. I installed mine via pip install boltz.

Thanks,
G

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions