stop throwing an exception here: we don't always have allele counts
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1259 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
a245ee32fa
commit
692b1e206f
|
|
@ -72,8 +72,7 @@ public final class HardyWeinbergCalculation {
|
|||
|
||||
//make sure numbers aren't screwy
|
||||
if (hets > rare) {
|
||||
throw new IllegalArgumentException("HW test: " + hets + " heterozygotes but only " +
|
||||
rare + " rare alleles.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
double[] tailProbs = new double[rare + 1];
|
||||
|
|
|
|||
Loading…
Reference in New Issue