Fix bug (introduced by me) that didn't include contig in progress meter

This commit is contained in:
Mark DePristo 2012-09-04 18:03:05 -04:00
parent c822b7c760
commit 71d9ebcb0d
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ public abstract class TraversalEngine<M,T,WalkerType extends Walker<M,T>,Provide
else
progressPrintFrequency = 10 * 1000; // in milliseconds
final String posName = loc == null ? (mustPrint ? "done" : "unmapped reads") : Integer.toString(loc.getStart());
final String posName = loc == null ? (mustPrint ? "done" : "unmapped reads") : String.format("%s:%d", loc.getContig(), loc.getStart());
logger.info(String.format("%15s %5.2e %s %s %5.1f%% %s %s",
posName, nRecords*1.0, elapsed, unitRate,
100*fractionGenomeTargetCompleted, estTotalRuntime, timeToCompletion));