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
106b05f0
Commit
106b05f0
authored
Mar 10, 2017
by
Peter van 't Hof
Browse files
Fixed mapping front template
parent
dd813f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
mapping/src/main/resources/nl/lumc/sasc/biopet/pipelines/mapping/mappingFront.ssp
View file @
106b05f0
#import(nl.lumc.sasc.biopet.utils.summary.db.SummaryDb)
#import(nl.lumc.sasc.biopet.utils.summary.db.SummaryDb._)
#import(nl.lumc.sasc.biopet.utils.summary.db.SummaryDb.Implicts._)
#import(nl.lumc.sasc.biopet.core.report.ReportPage)
#import(scala.concurrent.Await)
#import(scala.concurrent.duration.Duration)
<%@ var summary: SummaryDb %>
<%@ var rootPath: String %>
<%@ var pipeline: String %>
<%@ var runId: Int %>
<%@ var sampleId: Option[Int] %>
<%@ var libId: Option[Int] %>
#{
val run = Await.result(summary.getRuns(runId = Some(runId)), Duration.Inf).head
val settings = summary.getSettingKeys(runId,
Right(pipeline)
,
val settings = summary.getSettingKeys(runId,
run.name
,
keyValues = Map(
"contigs" -> List("reference", "contigs"),
"species" -> List("reference", "species"),
...
...
@@ -19,13 +20,13 @@
}#
<table class="table">
<tbody>
<tr><th>Pipeline</th><td>${
pipelin
e}</td></tr>
<tr><th>Pipeline</th><td>${
run.nam
e}</td></tr>
<tr><th>Version</th><td>${run.version}</td></tr>
<tr><th>Last commit hash</th><td>${run.commitHash}</td></tr>
<tr><th>Output directory</th><td>${run.outputDir}</td></tr>
<tr><th>Reference</th><td>${settings.get("species")} - ${settings.get("name")}</td></tr>
<tr><th>Sample</th><td>${
sampleId
}</td></tr>
<tr><th>Library</th><td>${
libId
}</td></tr>
<tr><th>Sample</th><td>${
Await.result(summary.getSampleName(sampleId.get), Duration.Inf)
}</td></tr>
<tr><th>Library</th><td>${
Await.result(summary.getLibraryName(libId.get), Duration.Inf)
}</td></tr>
</tbody>
</table>
<br/>
...
...
Write
Preview
Markdown
is supported
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