From 9f89579c58e1e628482a840c0740f3c970c0650a Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Wed, 18 Jan 2023 08:31:46 +0100 Subject: [PATCH] bugfix --- modules/mol/alg/pymod/scoring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mol/alg/pymod/scoring.py b/modules/mol/alg/pymod/scoring.py index b09c0d9df..462ed6310 100644 --- a/modules/mol/alg/pymod/scoring.py +++ b/modules/mol/alg/pymod/scoring.py @@ -1249,8 +1249,8 @@ class Scorer: t = self._qs_ent_from_patches(trg_patch_one, trg_patch_two) dockq_result = dockq.DockQ(t, m, "A", "B", "A", "B") if dockq_result["nnat"] > 0: - return 0.0 - return dockq_result["DockQ"] + return dockq_result["DockQ"] + return 0.0 def _qs_ent_from_patches(self, patch_one, patch_two): """ Constructs Entity with two chains named "A" and "B"" -- GitLab