From c998c5e12bd6c3a56022c93c5302e33decb6aab2 Mon Sep 17 00:00:00 2001 From: Richard Gowers Date: Fri, 9 Feb 2024 09:58:33 +0000 Subject: [PATCH] Update ligandatommapping.py --- gufe/mapping/ligandatommapping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gufe/mapping/ligandatommapping.py b/gufe/mapping/ligandatommapping.py index 75c81969..e7acb6df 100644 --- a/gufe/mapping/ligandatommapping.py +++ b/gufe/mapping/ligandatommapping.py @@ -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