Check for null entries before adding

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2099 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2009-11-20 03:12:20 +00:00
parent 82fd824c4d
commit b434c1c240
1 changed files with 4 additions and 2 deletions

View File

@ -125,8 +125,10 @@ public abstract class ChipConcordance extends BasicVariantAnalysis {
// now we can finally update our truth tables with the truth vs. calls data
for (int i = 0; i < truthTables.length; i++) {
ConcordanceTruthTable table = truthTables[i];
table.addEntry(chipEvals[i], eval, ref);
if ( chipEvals[i] != null ) {
ConcordanceTruthTable table = truthTables[i];
table.addEntry(chipEvals[i], eval, ref);
}
}
}