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,10 +125,12 @@ public abstract class ChipConcordance extends BasicVariantAnalysis {
// now we can finally update our truth tables with the truth vs. calls data // now we can finally update our truth tables with the truth vs. calls data
for (int i = 0; i < truthTables.length; i++) { for (int i = 0; i < truthTables.length; i++) {
if ( chipEvals[i] != null ) {
ConcordanceTruthTable table = truthTables[i]; ConcordanceTruthTable table = truthTables[i];
table.addEntry(chipEvals[i], eval, ref); table.addEntry(chipEvals[i], eval, ref);
} }
} }
}
public List<String> done() { public List<String> done() {
List<String> s = new ArrayList<String>(); List<String> s = new ArrayList<String>();