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:
parent
993c567bd8
commit
b82c3b6040
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue