From 8e4d2c72a3f7a84c4d6903a23e91715aa1adabed Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Mon, 11 Jul 2022 14:12:45 +0200
Subject: [PATCH] lDDT: bugfix

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

diff --git a/modules/mol/alg/pymod/lddt.py b/modules/mol/alg/pymod/lddt.py
index 91419c91e..4f8565bc7 100644
--- a/modules/mol/alg/pymod/lddt.py
+++ b/modules/mol/alg/pymod/lddt.py
@@ -814,7 +814,7 @@ class lDDTScorer:
             # throw away compound_lib info
             if r.chem_class.IsPeptideLinking():
                 self.compound_anames[r.name] = ["CA"]
-            elif r.chem_type.IsNucleotideLinking():
+            elif r.chem_class.IsNucleotideLinking():
                 self.compound_anames[r.name] = ["C3'"]
             else:
                 raise RuntimeError(f"Only support amino acids and nucleotides "
-- 
GitLab