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

Disable files pages for now

parent dd813f33
......@@ -105,13 +105,14 @@ trait ShivaReportTrait extends MultisampleMappingReportTrait {
}
/** Files page, can be used general or at sample level */
override def filesPage(sampleId: Option[Int] = None, libraryId: Option[Int] = None): ReportPage = {
val vcfFilesSection = if (variantcallingExecuted) List("VCF files" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/shiva/outputVcfFiles.ssp",
Map("sampleId" -> sampleId)))
else Nil
val oldPage = super.filesPage(sampleId, libraryId)
oldPage.copy(sections = oldPage.sections ++ vcfFilesSection)
}
//TODO: fix files pages
// override def filesPage(sampleId: Option[Int] = None, libraryId: Option[Int] = None): ReportPage = {
// val vcfFilesSection = if (variantcallingExecuted) List("VCF files" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/shiva/outputVcfFiles.ssp",
// Map("sampleId" -> sampleId)))
// else Nil
// val oldPage = super.filesPage(sampleId, libraryId)
// oldPage.copy(sections = oldPage.sections ++ vcfFilesSection)
// }
/** Single sample page */
override def samplePage(sampleId: Int, args: Map[String, Any]): ReportPage = {
......
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