Yup. I was right.

This commit is contained in:
Christopher Hartl 2012-01-26 12:54:11 -05:00
parent 7d059540a4
commit 9c6fda7e15
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ public class AllelePair {
private Allele bottom;
public AllelePair(Genotype gt) {
if ( gt.isNoCall() ) {
// do nothing
return;
}
if (gt.getPloidy() != 2)
throw new ReviewedStingException("AllelePair must have ploidy of 2! incoming gt was"+gt.toBriefString());