Skip to content
Snippets Groups Projects
Commit 6fc6e6f3 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Fix: consistency check can only pass if all alignments ok

parent 7375615d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment