From ddebeb9a97465df208a4c5e9e150cbc2e308f08f Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Wed, 6 Jul 2022 16:57:18 +0200 Subject: [PATCH] lDDT: bugfix --- modules/mol/alg/pymod/lddt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mol/alg/pymod/lddt.py b/modules/mol/alg/pymod/lddt.py index 95a9a5af0..91419c91e 100644 --- a/modules/mol/alg/pymod/lddt.py +++ b/modules/mol/alg/pymod/lddt.py @@ -487,6 +487,7 @@ class lDDTScorer: for ch in model.chains: model_ch_name = ch.GetName() if model_ch_name not in chain_mapping: + current_model_res_idx += len(ch.residues) continue # additional model chain which is not mapped target_ch_name = chain_mapping[model_ch_name] -- GitLab