From: gmungoc Date: Wed, 6 Jun 2018 11:03:57 +0000 (+0100) Subject: JAL-2956 don't load (non-existent) HMMER jar entry in New View X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d92dd77fe197fb6bf7b78da41d00f1f975a41671;p=jalview.git JAL-2956 don't load (non-existent) HMMER jar entry in New View --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index aed73d6..9af840a 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -3192,7 +3192,7 @@ public class Jalview2XML * load any HMMER profile */ String hmmJarFile = jseqs[i].getHmmerProfile(); - if (hmmJarFile != null) + if (hmmJarFile != null && jprovider != null) { loadHmmerProfile(jprovider, hmmJarFile, alignmentSeq); }