From b82c3b604095f8feeaa527d6be024da1ec560c76 Mon Sep 17 00:00:00 2001 From: ebanks Date: Fri, 16 Oct 2009 01:01:45 +0000 Subject: [PATCH] Better error output (and fixed spelling mistakes) git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1857 348d0f76-0448-11de-a6fe-93d51630548a --- .../broadinstitute/sting/utils/genotype/vcf/VCFRecord.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java b/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java index 79ea208d2..78e8d99a1 100644 --- a/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java +++ b/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java @@ -376,7 +376,9 @@ public class VCFRecord { } } if (gMap.size() != 0) { - throw new RuntimeException("We failed to use all the genotype samples; their must be an incosistancy between the header and records"); + for (String sample : gMap.keySet()) + System.err.println("Sample " + sample + " is being genotyped but isn't in the header."); + throw new RuntimeException("We failed to use all the genotype samples; there must be an inconsistancy between the header and records"); } }