Minor bug fix for printing in SAMDataSource
This commit is contained in:
parent
7bc0d18418
commit
78e0950a77
|
|
@ -740,7 +740,7 @@ public class SAMDataSource {
|
||||||
|
|
||||||
logger.debug(String.format("Processing file (%d of %d) %s...", readerNumber++, totalNumberOfFiles, readerID.samFile));
|
logger.debug(String.format("Processing file (%d of %d) %s...", readerNumber++, totalNumberOfFiles, readerID.samFile));
|
||||||
readers.put(init.readerID,init.reader);
|
readers.put(init.readerID,init.reader);
|
||||||
if ( nExecutedTotal++ % tickSize == 0) {
|
if ( ++nExecutedTotal % tickSize == 0) {
|
||||||
double tickInSec = (timer.currentTime() - lastTick) / 1000.0;
|
double tickInSec = (timer.currentTime() - lastTick) / 1000.0;
|
||||||
printReaderPerformance(nExecutedTotal, tickSize, totalNumberOfFiles, timer, tickInSec);
|
printReaderPerformance(nExecutedTotal, tickSize, totalNumberOfFiles, timer, tickInSec);
|
||||||
lastTick = timer.currentTime();
|
lastTick = timer.currentTime();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue