Skip to content

Commit

Permalink
Another string formatting tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Sep 17, 2024
1 parent 7845058 commit 33334f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openff/toolkit/utils/rdkit_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2581,9 +2581,8 @@ def _connection_table_to_rdkit(
# Something is wrong.
err_msg = (
"Unknown atom stereochemistry encountered in to_rdkit. "
"Desired stereochemistry: {}. Set stereochemistry {}".format(
atom.stereochemistry, rdatom.GetProp("_CIPCode")
)
f"Desired stereochemistry: {atom.stereochemistry}. "
f"Set stereochemistry {rdatom.GetProp('_CIPCode')}"
)
raise RuntimeError(err_msg)

Expand Down

0 comments on commit 33334f5

Please sign in to comment.