From: TZVanaalten Date: Mon, 28 Aug 2017 10:27:30 +0000 (+0100) Subject: JAL-2629 fix HMMER validation fail due to checking for HMM incorrectly X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5822ce76b5567bd164c7a0194eac22fa742295a8;p=jalview.git JAL-2629 fix HMMER validation fail due to checking for HMM incorrectly --- diff --git a/src/jalview/gui/Preferences.java b/src/jalview/gui/Preferences.java index bb226a0..7c0ac95 100755 --- a/src/jalview/gui/Preferences.java +++ b/src/jalview/gui/Preferences.java @@ -1316,7 +1316,7 @@ public class Preferences extends GPreferences { HMMBuildThread hmmbuild = new HMMBuildThread(alignment); hmmbuild.hmmbuildWaitTillComplete(); - SequenceI hmmSeq = alignment.getSequenceAt(1); + SequenceI hmmSeq = alignment.getSequenceAt(0); HiddenMarkovModel hmm; if (hmmSeq.isHMMConsensusSequence() && hmmSeq.getHMM() != null) {