Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
da4ba466
Commit
da4ba466
authored
Mar 10, 2017
by
Peter van 't Hof
Browse files
Disable files pages for now
parent
dd813f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/ShivaReport.scala
View file @
da4ba466
...
...
@@ -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
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment