From: tva Date: Fri, 28 Jun 2019 13:20:37 +0000 (+0100) Subject: JAL-3336 add better method of determining where data table begins X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=24514ffaa8ef17fa371dcdd64a4693282d0e93d6;p=jalview.git JAL-3336 add better method of determining where data table begins --- diff --git a/src/jalview/hmmer/HMMSearch.java b/src/jalview/hmmer/HMMSearch.java index 1506c0f..57786e5 100644 --- a/src/jalview/hmmer/HMMSearch.java +++ b/src/jalview/hmmer/HMMSearch.java @@ -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)