From 253ab1315c66cc734b59e9c137292c25e28faebd Mon Sep 17 00:00:00 2001
From: Gerardo Tauriello <gerardo.tauriello@unibas.ch>
Date: Wed, 26 Feb 2020 11:14:45 +0100
Subject: [PATCH] Fix consistency reporting in ost-compare-structures.

---
 actions/ost-compare-structures | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures
index 60a2b8c95..0ae1dad2d 100644
--- a/actions/ost-compare-structures
+++ b/actions/ost-compare-structures
@@ -522,7 +522,7 @@ def _CheckConsistency(alignments, log_error):
     for alignment in alignments:
         ref_chain = Renumber(alignment.GetSequence(0)).CreateFullView()
         mdl_chain = Renumber(alignment.GetSequence(1)).CreateFullView()
-        new_is_cons = ResidueNamesMatch(ref_chain, mdl_chain, log_error)
+        new_is_cons = ResidueNamesMatch(mdl_chain, ref_chain, log_error)
         is_cons = is_cons and new_is_cons
     return is_cons
 
-- 
GitLab