From: gmungoc Date: Tue, 24 Apr 2018 14:08:26 +0000 (+0100) Subject: JAL-2939 exit calc thread if no HMM in alignment X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e13faf21ee1dfe1f5dec75df9ef4dc42372b67b7;p=jalview.git JAL-2939 exit calc thread if no HMM in alignment --- diff --git a/src/jalview/workers/InformationThread.java b/src/jalview/workers/InformationThread.java index cf42425..d719189 100644 --- a/src/jalview/workers/InformationThread.java +++ b/src/jalview/workers/InformationThread.java @@ -44,6 +44,10 @@ public class InformationThread extends AlignCalcWorker @Override public void run() { + if (alignViewport.getAlignment().getHmmSequences().isEmpty()) + { + return; + } if (calcMan.isPending(this)) { return;