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
This commit is contained in:
ebanks 2009-10-16 01:01:45 +00:00
parent 993c567bd8
commit b82c3b6040
1 changed files with 3 additions and 1 deletions

View File

@ -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");
}
}