JAL-674 patch for duplicate row bug
authorJim Procter <j.procter@dundee.ac.uk>
Mon, 20 Oct 2014 10:21:05 +0000 (11:21 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Tue, 21 Oct 2014 10:34:52 +0000 (11:34 +0100)
src/jalview/analysis/AlignSeq.java

index e7fed8d..d05aa96 100755 (executable)
@@ -1113,7 +1113,7 @@ public class AlignSeq
               if (removeOldAnnots) {
                 annotations.remove(ap);
               } else {
-                AlignmentAnnotation alan = annotations.get(ap);
+                AlignmentAnnotation alan = annotations.remove(ap);
                 alan.liftOver(sq, sp2sq);
                 alan.setSequenceRef(sq);
                 sq.addAlignmentAnnotation(alan);