diff --git a/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java b/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java index 63834177a..b67ecb87f 100755 --- a/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java +++ b/java/src/org/broadinstitute/sting/gatk/executive/MicroScheduler.java @@ -212,7 +212,14 @@ public abstract class MicroScheduler { * @param sum The final reduce output. */ protected void printOnTraversalDone(Object sum) { - logger.info(String.format("%n%s",reads.getViolationHistogram())); + // HACK: The microscheduler should be too dumb to know anything about the data + // it's actually processing; it should just funnel anything it receives + // to the traversal engine. + // TODO: Implement code to allow the datasources to print summary info of the + // data they've seen. + if( reads != null && reads.getViolationHistogram().getViolationCount() > 0 ) + logger.warn(String.format("%n%s",reads.getViolationHistogram())); + traversalEngine.printOnTraversalDone(sum); }