Updated BioJs Html to be capable of launching jalivew
[jalview.git] / src / jalview / io / IdentifyFile.java
index 9c7478b..aa9c354 100755 (executable)
@@ -136,6 +136,11 @@ public class IdentifyFile
 
           break;
         }
+        if (data.matches("<(\"[^\"]*\"|'[^']*'|[^'\">])*>"))
+        {
+          reply = HtmlFile.FILE_DESC;
+          break;
+        }
 
         if ((data.indexOf("<") > -1))
         {
@@ -275,6 +280,7 @@ public class IdentifyFile
           break;
         }
 
+
         /*
          * // TODO comment out SimpleBLAST identification for Jalview 2.4.1 else
          * if (!lineswereskipped && data.indexOf("BLAST")<4) { reply =
@@ -320,6 +326,7 @@ public class IdentifyFile
 
   public static void main(String[] args)
   {
+
     for (int i = 0; args != null && i < args.length; i++)
     {
       IdentifyFile ider = new IdentifyFile();