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

Style changes

parent 7e1495dc
......@@ -107,19 +107,21 @@ class WriteSummary(val root: Configurable) extends InProcessFunction with Config
qscript match {
case tag: SampleLibraryTag => prefixSampleLibrary(map, tag.sampleId, tag.libId)
case q:MultiSampleQScript => {
q.samples.map { case (sampleName,sample) =>
sampleName -> Map(
qscript.summaryName -> Map("settings" -> sample.summarySettings),
"libraries" -> sample.libraries.map { case (libName, lib) =>
sampleName -> Map(
qscript.summaryName -> Map("settings" -> lib)
)
}
)
case q: MultiSampleQScript => {
q.samples.map {
case (sampleName, sample) =>
sampleName -> Map(
qscript.summaryName -> Map("settings" -> sample.summarySettings),
"libraries" -> sample.libraries.map {
case (libName, lib) =>
sampleName -> Map(
qscript.summaryName -> Map("settings" -> lib)
)
}
)
} ++ map
}
case _ => map
case _ => 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