Fix bug (introduced by me) that didn't include contig in progress meter
This commit is contained in:
parent
c822b7c760
commit
71d9ebcb0d
|
|
@ -242,7 +242,7 @@ public abstract class TraversalEngine<M,T,WalkerType extends Walker<M,T>,Provide
|
||||||
else
|
else
|
||||||
progressPrintFrequency = 10 * 1000; // in milliseconds
|
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",
|
logger.info(String.format("%15s %5.2e %s %s %5.1f%% %s %s",
|
||||||
posName, nRecords*1.0, elapsed, unitRate,
|
posName, nRecords*1.0, elapsed, unitRate,
|
||||||
100*fractionGenomeTargetCompleted, estTotalRuntime, timeToCompletion));
|
100*fractionGenomeTargetCompleted, estTotalRuntime, timeToCompletion));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue