JAL-2629 fix issue where HMM would not be added to alignment
authorTZVanaalten <TZVanaalten@LS30916.ad.lifesci.dundee.ac.uk>
Mon, 28 Aug 2017 10:26:23 +0000 (11:26 +0100)
committerTZVanaalten <TZVanaalten@LS30916.ad.lifesci.dundee.ac.uk>
Mon, 28 Aug 2017 10:33:27 +0000 (11:33 +0100)
src/jalview/io/FileLoader.java

index fd8429b..73fbc88 100755 (executable)
@@ -427,6 +427,7 @@ public class FileLoader implements Runnable
                       .getSequenceAt(alignment.getAbsoluteHeight() - 1);
               seq.setIsHMMConsensusSequence(true);
               alignment.deleteSequence(alignment.getAbsoluteHeight() - 1);
+              alignment.insertSequenceAt(0, seq);
               viewport.getAlignPanel().adjustAnnotationHeight();
               viewport.updateSequenceIdColours();