JAL-1683 replace year/version strings with tokens in source
[jalview.git] / src / jalview / bin / JalviewLite.java
index dab649e..ac1f9ac 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -2024,6 +2024,12 @@ public class JalviewLite extends Applet implements
                     param, protocol);
             JnetAnnotationMaker.add_annotation(predictions,
                     newAlignFrame.viewport.getAlignment(), 0, false); // false==do
+            SequenceI repseq = newAlignFrame.viewport.getAlignment()
+                    .getSequenceAt(0);
+            newAlignFrame.viewport.getAlignment().setSeqrep(repseq);
+            ColumnSelection cs = new ColumnSelection();
+            cs.hideInsertionsFor(repseq);
+            newAlignFrame.viewport.setColumnSelection(cs);
             // not
             // add
             // sequence