From d92dd77fe197fb6bf7b78da41d00f1f975a41671 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 6 Jun 2018 12:03:57 +0100 Subject: [PATCH] JAL-2956 don't load (non-existent) HMMER jar entry in New View --- src/jalview/gui/Jalview2XML.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.2