Commit e7a152be authored by Peter van 't Hof's avatar Peter van 't Hof

Fixing small bug

parent 8d4a3559
......@@ -87,7 +87,7 @@ trait SummaryQScript extends BiopetQScript { qscript: QScript =>
private var addedJobs = false
final lazy val summaryRunId: Int = {
if (runIdFile.exists()) {
if (runIdFile.exists() && summaryDbFile.exists()) {
val reader = Source.fromFile(runIdFile)
val id = reader.getLines().next().toInt
reader.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