From 47018371de707a8932377aed95424b3090e0c944 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 28 Apr 2017 15:55:32 +0100 Subject: [PATCH] JAL-2495 highlight all mapped sequences from structure pick --- src/jalview/structure/StructureSelectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index b973f45..b89fb42 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -844,7 +844,7 @@ public class StructureSelectionManager && sm.pdbchain.equals(atom.getChain())) { int indexpos = sm.getSeqPos(atom.getPdbResNum()); - if (lastipos != indexpos && lastseq != sm.sequence) + if (lastipos != indexpos || lastseq != sm.sequence) { results.addResult(sm.sequence, indexpos, indexpos); lastipos = indexpos; -- 1.7.10.2