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
92ae5a49
Commit
92ae5a49
authored
Aug 17, 2015
by
Peter van 't Hof
Browse files
Fix inversion
parent
5a765da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/mapping/src/main/scala/nl/lumc/sasc/biopet/pipelines/mapping/MappingReport.scala
View file @
92ae5a49
...
...
@@ -36,7 +36,7 @@ object MappingReport extends ReportBuilder {
/** Root page for single BamMetrcis report */
def
indexPage
=
{
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
))
}
else
None
ReportPage
((
if
(
skipFlexiprep
)
Nil
else
List
(
"QC"
->
FlexiprepReport
.
flexiprepPage
))
:::
...
...
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