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

Fix inversion

parent 5a765da5
...@@ -36,7 +36,7 @@ object MappingReport extends ReportBuilder { ...@@ -36,7 +36,7 @@ object MappingReport extends ReportBuilder {
/** Root page for single BamMetrcis report */ /** Root page for single BamMetrcis report */
def indexPage = { def indexPage = {
val skipFlexiprep = summary.getValue(sampleId, libId, "mapping", "settings", "skip_flexiprep").getOrElse(false) == true val skipFlexiprep = summary.getValue(sampleId, libId, "mapping", "settings", "skip_flexiprep").getOrElse(false) == true
val bamMetricsPage = if (summary.getValue(sampleId, libId, "mapping", "settings", "skip_metrics").getOrElse(false) == true) { val bamMetricsPage = if (summary.getValue(sampleId, libId, "mapping", "settings", "skip_metrics").getOrElse(false) != true) {
Some(BammetricsReport.bamMetricsPage(summary, sampleId, libId)) Some(BammetricsReport.bamMetricsPage(summary, sampleId, libId))
} else None } else None
ReportPage((if (skipFlexiprep) Nil else List("QC" -> FlexiprepReport.flexiprepPage)) ::: ReportPage((if (skipFlexiprep) Nil else List("QC" -> FlexiprepReport.flexiprepPage)) :::
......
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