Skip to content

Commit

Permalink
Update ligandatommapping.py
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Feb 9, 2024
1 parent 38e69fc commit c998c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gufe/mapping/ligandatommapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def __init__(
for i, j in componentA_to_componentB.items():
if not (0 <= i < nA):
raise ValueError(f"Got invalid index for ComponentA ({i}); "
f"must be 0 <= n <= {nA}")
f"must be 0 <= n < {nA}")
if not (0 <= j < nB):
raise ValueError(f"Got invalid index for ComponentB ({i}); "
f"must be 0 <= n <= {nB}")
f"must be 0 <= n < {nB}")

self._compA_to_compB = componentA_to_componentB

Expand Down

0 comments on commit c998c5e

Please sign in to comment.