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