When merging the PerReadAlleleLikelihoodMap classes, I forgot to initialize the underlying objects. This was causing the LargeScaleTests to fail.

This commit is contained in:
Eric Banks 2013-01-08 09:24:12 -05:00
parent 9e6c2afb28
commit dfe4cf1301
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ public class PerReadAlleleLikelihoodMap {
protected List<Allele> alleles;
protected Map<GATKSAMRecord, Map<Allele, Double>> likelihoodReadMap;
public PerReadAlleleLikelihoodMap() {}
public PerReadAlleleLikelihoodMap() {
likelihoodReadMap = new LinkedHashMap<GATKSAMRecord,Map<Allele,Double>>();
alleles = new ArrayList<Allele>();
}
public void add(GATKSAMRecord read, Allele a, Double likelihood) {
Map<Allele,Double> likelihoodMap;