Skip to content

Fix atom typing errors when using OPLS #17

@chrisjonesBSU

Description

@chrisjonesBSU

PEEK:
gaff: Works
opls: Error

Exception: Parameters have not been assigned to all proper dihedrals. Total system dihedrals: 174, Parameterized dihedrals: 158. Note that if your system contains torsions of Ryckaert-Bellemans functional form, all of these torsions are processed as propers.

PEKK:
gaff: Works

opls: Error

Exception: Parameters have not been assigned to all proper dihedrals. Total system dihedrals: 180, Parameterized dihedrals: 154. Note that if your system contains torsions of Ryckaert-Bellemans functional form, all of these torsions are processed as propers.

So far, it looks like the errors are not being able to assign all of the dihedrals when using the opls forcefield.

If we pass assert_dihedral_params=False when using OPLS, then both PEEK and PEKK will work.

This fix won't require much within this repo, but rather with foyer. We could make a PR that adds missing dihedrals, but I'm not sure how long that would take.

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