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

Format fix

parent 0d8bafce
......@@ -168,7 +168,7 @@ class WriteSummary(val parent: SummaryQScript) extends InProcessFunction with Co
val pipeFunctions = (for (f <- qscript.functions) yield f match {
case f: BiopetCommandLineFunction => f.pipesJobs
case _ => Nil
case _ => Nil
}).flatten
(for (f <- qscript.functions ++ pipeFunctions) yield {
f match {
......
......@@ -106,9 +106,9 @@ object ConfigUtils extends Logging {
val value = map.get(path.head)
if (path.tail.isEmpty || value.isEmpty) value
else value.get match {
case map: Map[_, _] => getValueFromPath(map.asInstanceOf[Map[String, Any]], path.tail)
case map: Map[_, _] => getValueFromPath(map.asInstanceOf[Map[String, Any]], path.tail)
case map: java.util.LinkedHashMap[_, _] => getValueFromPath(map.toMap.asInstanceOf[Map[String, Any]], path.tail)
case _ => None
case _ => None
}
} else Some(map)
}
......
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