From 24514ffaa8ef17fa371dcdd64a4693282d0e93d6 Mon Sep 17 00:00:00 2001 From: tva Date: Fri, 28 Jun 2019 14:20:37 +0100 Subject: [PATCH] JAL-3336 add better method of determining where data table begins --- src/jalview/hmmer/HMMSearch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 1.7.10.2