Merge commit 'ab43013b7e357b84b4abade0dba949668dfb2a0e' into develop
[jalview.git] / src / jalview / io / FileLoader.java
index f22d93a..52f7705 100755 (executable)
@@ -152,6 +152,7 @@ public class FileLoader implements Runnable
   public AlignFrame LoadFileWaitTillLoaded(FileParse source, String format)
   {
     this.source = source;
+
     file = source.getInFile();
     protocol = source.type;
     this.format = format;
@@ -276,7 +277,7 @@ public class FileLoader implements Runnable
                   .println("IMPLEMENTATION ERROR: Cannot read consecutive Jalview XML projects from a stream.");
           // We read the data anyway - it might make sense.
         }
-        alignFrame = new Jalview2XML(raiseGUI).LoadJalviewAlign(file);
+        alignFrame = new Jalview2XML(raiseGUI).loadJalviewAlign(file);
       }
       else
       {
@@ -352,6 +353,11 @@ public class FileLoader implements Runnable
             {
               alignFrame.setFileName(file, format);
             }
+            if (source instanceof HtmlFile)
+            {
+              ((HtmlFile) source).LoadAlignmentFeatures(alignFrame);
+
+            }
             if (raiseGUI)
             {
               // add the window to the GUI