From e58a2afa7fc83b961d053ec44f8add1c20e4d984 Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavalias-github@xavier.robin.name>
Date: Mon, 23 Jan 2023 13:59:48 +0100
Subject: [PATCH] fix: SCHWED-5783 no longer needed

Fixed elsewhere by b6270ff1
---
 modules/mol/alg/pymod/ligand_scoring.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/mol/alg/pymod/ligand_scoring.py b/modules/mol/alg/pymod/ligand_scoring.py
index 878fd5339..8764ce75c 100644
--- a/modules/mol/alg/pymod/ligand_scoring.py
+++ b/modules/mol/alg/pymod/ligand_scoring.py
@@ -386,10 +386,6 @@ class LigandScorer:
                     LogWarning("No residue in proximity of target ligand "
                                "%s" % str(target_ligand))
                     continue  # next binding site
-                elif len(binding_site.ref_residues) == 0:
-                    LogWarning("Binding site of %s not mapped to the model " %
-                               str(target_ligand))
-                    continue  # next binding site
 
                 ref_bs_ent = self._build_binding_site_entity(
                     target_ligand, binding_site.ref_residues,
-- 
GitLab