numThreads > 1 any time you have -nt > 1 silly
This commit is contained in:
parent
faacacd6c0
commit
68c5142d2d
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue