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

Reference template is now failsafe

parent 0460d525
......@@ -16,7 +16,7 @@
"species" -> List("reference", "species"),
"name" -> List("reference", "name")
val contigs = settings.getOrElse("contigs", Some(Map.empty)).get.asInstanceOf[Map[String, Map[String, Any]]]
val contigs = settings.getOrElse("contigs", Some(Map())).getOrElse(Map()).asInstanceOf[Map[String, Map[String, Any]]]
val referenceFile = Await.result(summary.getFile(runId, Right(pipeline), None, None, None, key = "referenceFasta"), Duration.Inf)
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