Commit 73f2dc00 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixing unit tests

parent 0ce0148e
...@@ -119,6 +119,7 @@ trait SummaryQScript extends BiopetQScript { qscript: QScript => ...@@ -119,6 +119,7 @@ trait SummaryQScript extends BiopetQScript { qscript: QScript =>
private def createRun(): Int = { private def createRun(): Int = {
val db = SummaryDb.openSqliteSummary(summaryDbFile) val db = SummaryDb.openSqliteSummary(summaryDbFile)
val id = Await.result(db.createRun(summaryName, outputDir), Duration.Inf) val id = Await.result(db.createRun(summaryName, outputDir), Duration.Inf)
runIdFile.getParentFile.mkdir()
val writer = new PrintWriter(runIdFile) val writer = new PrintWriter(runIdFile)
writer.println(id) writer.println(id)
writer.close() writer.close()
......
Markdown is supported
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