JAL-2738 error logging if no ##reference found
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 29 May 2019 15:17:10 +0000 (16:17 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 29 May 2019 15:17:10 +0000 (16:17 +0100)
src/jalview/io/vcf/VCFLoader.java

index 04c73b5..622da73 100644 (file)
@@ -382,6 +382,8 @@ public class VCFLoader
   {
     if (reference == null)
     {
+      Cache.log.error("No VCF ##reference found, defaulting to "
+              + DEFAULT_REFERENCE + ":" + DEFAULT_SPECIES);
       reference = DEFAULT_REFERENCE; // default to GRCh37 if not specified
     }
     reference = reference.toLowerCase();