Commit 8036de74 authored by Sander Bollen's avatar Sander Bollen

back to exception

parent f7433283
......@@ -143,7 +143,7 @@ trait MultiSampleQScript extends SummaryQScript { qscript: QScript =>
protected def libIds: Set[String] = {
val ids = ConfigUtils.getMapFromPath(globalConfig.map, List("samples", sampleId, "libraries")).getOrElse(Map()).keySet
if (ids.isEmpty) {
logger.error(s"No libraries found in config for sample $sampleId")
throw new IllegalStateException(s"No libraries found in config for sample $sampleId")
}
ids
}
......
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