Bug fix for NPE in very short GATK runs

-- Was already in unstable, but not stable...
This commit is contained in:
Mark DePristo 2011-09-24 09:25:29 -04:00
parent 8ceb93b8ac
commit 6804ab6d2f
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ public abstract class TraversalEngine<M,T,WalkerType extends Walker<M,T>,Provide
public void printOnTraversalDone() {
printProgress(null, null, true);
final double elapsed = timer.getElapsedTime();
final double elapsed = timer == null ? 0 : timer.getElapsedTime();
ReadMetrics cumulativeMetrics = engine.getCumulativeMetrics();