- else if (!lineswereskipped
- && data.charAt(0)!='*'
- && data.charAt(0)!=' '
- && data.indexOf(":") < data.indexOf(",")) // && data.indexOf(",")<data.indexOf(",", data.indexOf(",")))
+ else if (data.matches("\\s*\\d+\\s+\\d+\\s*"))
+ {
+ reply = PhylipFile.FILE_DESC;
+ break;
+ }
+
+
+ /*
+ * // TODO comment out SimpleBLAST identification for Jalview 2.4.1 else
+ * if (!lineswereskipped && data.indexOf("BLAST")<4) { reply =
+ * "SimpleBLAST"; break;
+ *
+ * } // end comments for Jalview 2.4.1
+ */
+ else if (!lineswereskipped && data.charAt(0) != '*'
+ && data.charAt(0) != ' '
+ && data.indexOf(":") < data.indexOf(",")) // &&
+ // data.indexOf(",")<data.indexOf(",",
+ // data.indexOf(",")))