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

Fixed bug in report

parent 88c9300a
...@@ -85,10 +85,11 @@ trait MultisampleMappingReportTrait extends MultisampleReportBuilder { ...@@ -85,10 +85,11 @@ trait MultisampleMappingReportTrait extends MultisampleReportBuilder {
/** Library page */ /** Library page */
def libraryPage(sampleId: String, libId: String, args: Map[String, Any]): ReportPage = { def libraryPage(sampleId: String, libId: String, args: Map[String, Any]): ReportPage = {
ReportPage(List( val flexiprepExecuted = summary.getValue(Some(sampleId), Some(libId), "flexiprep").isDefined
"Alignment" -> BammetricsReport.bamMetricsPage(summary, Some(sampleId), Some(libId)), ReportPage(
"QC" -> FlexiprepReport.flexiprepPage ("Alignment" -> BammetricsReport.bamMetricsPage(summary, Some(sampleId), Some(libId))) ::
), List( (if (flexiprepExecuted) List("QC" -> FlexiprepReport.flexiprepPage) else Nil),
List(
"Alignment" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/bammetrics/alignmentSummary.ssp"), "Alignment" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/bammetrics/alignmentSummary.ssp"),
"QC reads" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepReadSummary.ssp"), "QC reads" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepReadSummary.ssp"),
"QC bases" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepBaseSummary.ssp") "QC bases" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepBaseSummary.ssp")
......
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