JAL-2495 highlight all mapped sequences from structure pick
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 28 Apr 2017 14:55:32 +0000 (15:55 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 24 Oct 2017 16:52:14 +0000 (17:52 +0100)
src/jalview/structure/StructureSelectionManager.java

index b973f45..b89fb42 100644 (file)
@@ -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;