From 2f212812249419ac5692a594f2ed370e6fac5e58 Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Fri, 1 Mar 2024 10:22:56 +0100 Subject: [PATCH] lddt: docu update --- modules/mol/alg/pymod/lddt.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/mol/alg/pymod/lddt.py b/modules/mol/alg/pymod/lddt.py index 478b23c9e..4e212279f 100644 --- a/modules/mol/alg/pymod/lddt.py +++ b/modules/mol/alg/pymod/lddt.py @@ -489,9 +489,11 @@ class lDDTScorer: between mapped model and target residues. :type check_resnames: :class:`bool` :returns: global and per-residue lDDT scores as a tuple - - first element is global lDDT score and second element - a list of per-residue scores with length len(*model*.residues) - None is assigned to residues that are not covered by target + first element is global lDDT score (None if *target* has no + contacts) and second element a list of per-residue scores with + length len(*model*.residues). None is assigned to residues that + are not covered by target. If a residue is covered but has no + contacts in *target*, 0.0 is assigned. """ if chain_mapping is None: if len(self.chain_names) > 1 or len(model.chains) > 1: -- GitLab