From 7e01a0d7a5e33357e6e25fcda2a6fa8a066cd678 Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavalias-github@xavier.robin.name>
Date: Mon, 20 Feb 2023 13:37:20 +0100
Subject: [PATCH] typo: SCHWED-5783 fix wrong text

---
 modules/mol/alg/pymod/ligand_scoring.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mol/alg/pymod/ligand_scoring.py b/modules/mol/alg/pymod/ligand_scoring.py
index f3fe6ffb3..96d2a6b51 100644
--- a/modules/mol/alg/pymod/ligand_scoring.py
+++ b/modules/mol/alg/pymod/ligand_scoring.py
@@ -161,7 +161,7 @@ class LigandScorer:
         elif isinstance(target, mol.EntityHandle):
             self.target = target.Copy()
         else:
-            raise RuntimeError("model must be of type EntityView/EntityHandle")
+            raise RuntimeError("target must be of type EntityView/EntityHandle")
 
         # Extract ligands from target
         if target_ligands is None:
-- 
GitLab