Don't close the output stream if we're printing to stdout
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2891 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
10cc71ceb0
commit
591102a841
|
|
@ -231,8 +231,10 @@ public class CoverageStatistics extends LocusWalker<Map<String,Integer>, DepthOf
|
|||
|
||||
printIntervalTable(statsOut,nTargetsByAvgCvgBySample,firstStats.getEndpoints());
|
||||
|
||||
summaryOut.close();
|
||||
statsOut.close();
|
||||
if ( ! getToolkit().getArguments().outFileName.contains("stdout")) {
|
||||
summaryOut.close();
|
||||
statsOut.close();
|
||||
}
|
||||
|
||||
return firstStats;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue