Idiocy! All tests were being disabled because I forgot the instanceof

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1760 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
chartl 2009-10-02 20:04:56 +00:00
parent 88d0890cc3
commit 7605ee500c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class VariantEvalWalker extends RefWalker<Integer, Integer> {
VariantAnalysis analysis = iter.next();
boolean disableForGenotyping = evalContainsGenotypes && ! (analysis instanceof GenotypeAnalysis);
boolean disableForPopulation = ! evalContainsGenotypes && ! (analysis instanceof PopulationAnalysis);
boolean disableForPools = pathToHapmapPoolFile == null;
boolean disableForPools = (pathToHapmapPoolFile == null && analysis instanceof PooledGenotypeConcordance);
boolean disable = disableForGenotyping | disableForPopulation | disableForPools;
String causeName = disableForGenotyping ? "population" : (disableForPopulation ? "genotype" : ( disableForPools ? "pool" : null ));
if ( disable ) {