From: gmungoc Date: Fri, 28 Apr 2017 14:55:32 +0000 (+0100) Subject: JAL-2495 highlight all mapped sequences from structure pick X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=12ce719d6e83d2a5411da7d8ac4c40c174c93747;p=jalview.git JAL-2495 highlight all mapped sequences from structure pick --- 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;