Skip to content

Commit

Permalink
use proper bond Enum values for bond orders
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Mar 27, 2023
1 parent 6b4813b commit d7cfb3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gufe/components/proteincomponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@


_BONDORDERS_OPENMM_TO_RDKIT = {
1: BondType.SINGLE,
2: BondType.DOUBLE,
3: BondType.TRIPLE,
app.Single: BondType.SINGLE, 1: BondType.SINGLE,
app.Double: BondType.DOUBLE, 2: BondType.DOUBLE,
app.Triple: BondType.TRIPLE, 3: BondType.TRIPLE,
app.Aromatic: BondType.AROMATIC,
None: BondType.UNSPECIFIED,
}
_BONDORDERS_RDKIT_TO_OPENMM = {
Expand Down

0 comments on commit d7cfb3a

Please sign in to comment.