Minor bug fix for printing in SAMDataSource

This commit is contained in:
Mark DePristo 2011-12-16 11:45:40 -05:00
parent 7bc0d18418
commit 78e0950a77
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ public class SAMDataSource {
logger.debug(String.format("Processing file (%d of %d) %s...", readerNumber++, totalNumberOfFiles, readerID.samFile));
readers.put(init.readerID,init.reader);
if ( nExecutedTotal++ % tickSize == 0) {
if ( ++nExecutedTotal % tickSize == 0) {
double tickInSec = (timer.currentTime() - lastTick) / 1000.0;
printReaderPerformance(nExecutedTotal, tickSize, totalNumberOfFiles, timer, tickInSec);
lastTick = timer.currentTime();