From 68c5142d2d952a3abaeb0604ce60b47d8466e654 Mon Sep 17 00:00:00 2001 From: Mark DePristo Date: Sun, 26 Aug 2012 14:36:13 -0400 Subject: [PATCH] numThreads > 1 any time you have -nt > 1 silly --- .../org/broadinstitute/sting/gatk/executive/MicroScheduler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java b/public/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java index 9b4fe53ed..70201a6cc 100755 --- a/public/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java +++ b/public/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java @@ -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) {