From e595f1d57c6b10a2d630b10c993d96e4425ea8a0 Mon Sep 17 00:00:00 2001
From: Pascal Benkert <pascal.benkert@unibas.ch>
Date: Thu, 24 Mar 2011 17:07:59 +0100
Subject: [PATCH] bug fix: variables "aln_length and tm_score" have been
 flipped

---
 modules/bindings/pymod/tmtools.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/bindings/pymod/tmtools.py b/modules/bindings/pymod/tmtools.py
index 04db23593..522a2dd55 100644
--- a/modules/bindings/pymod/tmtools.py
+++ b/modules/bindings/pymod/tmtools.py
@@ -68,7 +68,7 @@ def _ParseTmAlign(lines):
   alignment = seq.CreateAlignment()
   alignment.AddSequence(seq2)
   alignment.AddSequence(seq1)
-  return TMAlignResult(rmsd, aln_length, tm_score, tf, seq2, alignment)
+  return TMAlignResult(rmsd, tm_score, aln_length, tf, seq2, alignment)
 
 def _RunTmAlign(tmalign, tmp_dir):
   model1_filename=os.path.join(tmp_dir, 'model01.pdb')
-- 
GitLab