From e3b63b5b5782fe81d18de09fe7cb48fa87f3a911 Mon Sep 17 00:00:00 2001
From: Martino Bertoni <martino.bertoni@unibas.ch>
Date: Mon, 11 Nov 2013 18:02:49 +0100
Subject: [PATCH] corrected _ParseMmAlign. was initializing MMAlignResult in
 with misordered params

---
 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 294da0e50..818c9c555 100644
--- a/modules/bindings/pymod/tmtools.py
+++ b/modules/bindings/pymod/tmtools.py
@@ -153,7 +153,7 @@ def _ParseMmAlign(lines):
   alignment = seq.CreateAlignment()
   alignment.AddSequence(seq2)
   alignment.AddSequence(seq1)
-  return MMAlignResult(rmsd, aln_length, tm_score, tf, seq2, alignment)
+  return MMAlignResult(rmsd, tm_score, aln_length, tf, seq2, alignment)
 
 def _RunMmAlign(mmalign, tmp_dir):
   model1_filename=os.path.join(tmp_dir, 'model01.pdb')
-- 
GitLab