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

Fixed sample settings

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