From 12ce719d6e83d2a5411da7d8ac4c40c174c93747 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 d1593df..59f37d9 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -883,7 +883,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