diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures index 60a2b8c953ab54481f0c18d14ac6a6e0dc0724cd..0ae1dad2d0dc692b544d05b8f0d8d8408a7b0d01 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