From 23c49d515996d8b0dac0bf0c4a50827d247fdf8b Mon Sep 17 00:00:00 2001 From: TZVanaalten Date: Fri, 25 Aug 2017 17:11:17 +0100 Subject: [PATCH] JAL-2629 hmmbuild runs on the alignment by default --- resources/lang/Messages.properties | 2 +- src/jalview/hmmer/HMMBuildThread.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/lang/Messages.properties b/resources/lang/Messages.properties index 5e17deb..be20995 100644 --- a/resources/lang/Messages.properties +++ b/resources/lang/Messages.properties @@ -1330,7 +1330,7 @@ warn.no_selected_hmm = Please select a hidden Markov model sequence. label.select_hmm = Select HMM warn.no_sequence_data = No sequence data found. warn.empty_grp_or_alignment = An empty group or alignment was found. -label.no_sequences_found = No matching sequences were found. +label.no_sequences_found = No matching sequences, or an error occurred. label.hmmer = HMMER label.trim_termini = Trim Non-Matching Termini label.trim_termini_desc = If true, non-matching regions on either end of the resulting alignment are removed. diff --git a/src/jalview/hmmer/HMMBuildThread.java b/src/jalview/hmmer/HMMBuildThread.java index dc24d9e..b0e9d70 100644 --- a/src/jalview/hmmer/HMMBuildThread.java +++ b/src/jalview/hmmer/HMMBuildThread.java @@ -128,6 +128,10 @@ public class HMMBuildThread implements Runnable } } } + else + { + alignment = viewport.getAlignment(); + } if (alignment != null) { -- 1.7.10.2