Commit 2b6e2ab2 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Emtp stats when stats file does not exist

parent 9e6a44e1
......@@ -271,7 +271,8 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
def summaryFiles: Map[String, File] = Map()
def summaryStats: Map[String, Any] = {
if (statsText) parseStatsFile(new File(output.getAbsolutePath + "_summary.txt"))
val statsFile = new File(output.getAbsolutePath + "_summary.txt")
if (statsText && statsFile.exists()) parseStatsFile(statsFile)
else Map()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment