Renaming -cnt to -nct for consistency

This commit is contained in:
Mark DePristo 2012-09-05 21:13:19 -04:00
parent e77abfa82d
commit 1b064805ed
3 changed files with 6 additions and 6 deletions

View File

@ -307,7 +307,7 @@ public class GATKArgumentCollection {
* the benefit of not requiring X times as much memory per thread as data threads do, but rather
* only a constant overhead.
*/
@Argument(fullName="num_cpu_threads_per_data_thread", shortName = "cnt", doc="How many CPU threads should be allocated per data thread to running this analysis?", required = false)
@Argument(fullName="num_cpu_threads_per_data_thread", shortName = "nct", doc="How many CPU threads should be allocated per data thread to running this analysis?", required = false)
public int numberOfCPUThreadsPerDataThread = 1;
@Argument(fullName="num_io_threads", shortName = "nit", doc="How many of the given threads should be allocated to IO", required = false)

View File

@ -117,7 +117,7 @@ public abstract class MicroScheduler implements MicroSchedulerMBean {
}
} else {
if ( threadAllocation.getNumCPUThreadsPerDataThread() > 1 && ! (walker instanceof NanoSchedulable) )
throw badNT("cnt", engine, walker);
throw badNT("nct", engine, walker);
return new LinearMicroScheduler(engine, walker, reads, reference, rods, threadAllocation);
}
}

View File

@ -280,11 +280,11 @@ public class WalkerTest extends BaseTest {
results = executeTest(name + "-nt-" + nt, spec);
}
for ( int cnt : cpuThreads ) {
if ( cnt != 1 ) {
String extra = " -cnt " + cnt;
for ( int nct : cpuThreads ) {
if ( nct != 1 ) {
String extra = " -nct " + nct;
spec.args = originalArgs + extra;
results = executeTest(name + "-cnt-" + cnt, spec);
results = executeTest(name + "-cnt-" + nct, spec);
}
}