JAL-3336 add better method of determining where data table begins
authortva <tva@10.205.251.175>
Fri, 28 Jun 2019 13:20:37 +0000 (14:20 +0100)
committertva <tva@10.205.251.175>
Fri, 28 Jun 2019 13:20:37 +0000 (14:20 +0100)
src/jalview/hmmer/HMMSearch.java

index 1506c0f..57786e5 100644 (file)
@@ -470,10 +470,11 @@ public class HMMSearch extends HmmerCommand
     {
       line = br.readLine();
     }
-    for (int i = 0; i < 6; i++)
+    while (!line.contains("-------"))
     {
       line = br.readLine();
     }
+    line = br.readLine();
 
     int index = 0;
     while (!"  ------ inclusion threshold ------".equals(line)