Skip to content
GitLab
Menu
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
f01537f1
Commit
f01537f1
authored
Apr 10, 2017
by
Peter van 't Hof
Browse files
Fix compile issues
parent
a9eae104
Changes
1
Show whitespace changes
Inline
Side-by-side
gears/src/main/scala/nl/lumc/sasc/biopet/pipelines/gears/GearsSingleReport.scala
View file @
f01537f1
...
...
@@ -34,9 +34,8 @@ object GearsSingleReport extends ReportBuilder {
.
map
(
x
=>
ExtFile
(
"/nl/lumc/sasc/biopet/pipelines/gears/report/ext/"
+
x
,
x
))
def
indexPage
:
Future
[
ReportPage
]
=
Future
{
sampleId
.
map
val
sampleName
=
sampleId
.
flatMap
(
x
=>
Await
.
result
(
summary
.
getSampleName
(
x
),
Duration
.
Inf
))
val
libraryName
=
libId
.
flatMap
(
x
=>
Await
.
result
(
summary
.
getLibraryName
(
x
),
Duration
.
Inf
))
val
sampleName
=
sampleId
.
flatMap
(
id
=>
samples
.
find
(
_
.
id
==
id
).
map
(
_
.
name
))
val
libraryName
=
libId
.
flatMap
(
id
=>
libraries
.
find
(
_
.
id
==
id
).
map
(
_
.
name
))
val
krakenExecuted
=
Await
.
result
(
summary
.
getStatsSize
(
runId
,
"gearskraken"
,
"krakenreport"
,
sample
=
sampleId
.
map
(
SampleId
),
library
=
libId
.
map
(
LibraryId
)),
Duration
.
Inf
)
==
1
val
centrifugeExecuted
=
Await
.
result
(
summary
.
getStatsSize
(
runId
,
"gearscentrifuge"
,
"centrifuge_report"
,
sample
=
sampleId
.
map
(
SampleId
),
library
=
libId
.
map
(
LibraryId
)),
Duration
.
Inf
)
==
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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