numThreads > 1 any time you have -nt > 1 silly

This commit is contained in:
Mark DePristo 2012-08-26 14:36:13 -04:00
parent faacacd6c0
commit 68c5142d2d
1 changed files with 0 additions and 2 deletions

View File

@ -138,8 +138,6 @@ public abstract class MicroScheduler implements MicroSchedulerMBean {
if (walker instanceof ReadWalker) {
traversalEngine = numThreads > 1 ? new TraverseReadsNano(numThreads) : new TraverseReads();
} else if ( numThreads > 1 ) {
throw new IllegalArgumentException("BUG: numThreads > 1 but this is only allowed for ReadWalkers");
} else if (walker instanceof LocusWalker) {
traversalEngine = new TraverseLoci();
} else if (walker instanceof DuplicateWalker) {