JAL-2956 don't load (non-existent) HMMER jar entry in New View
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 6 Jun 2018 11:03:57 +0000 (12:03 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 6 Jun 2018 11:03:57 +0000 (12:03 +0100)
src/jalview/gui/Jalview2XML.java

index aed73d6..9af840a 100644 (file)
@@ -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);
         }