Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
0644fd96
Commit
0644fd96
authored
Feb 15, 2017
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing output dir
parent
d9b67dfa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/summary/SummaryQScript.scala
...ala/nl/lumc/sasc/biopet/core/summary/SummaryQScript.scala
+5
-1
No files found.
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/summary/SummaryQScript.scala
View file @
0644fd96
...
...
@@ -120,7 +120,11 @@ trait SummaryQScript extends BiopetQScript { qscript: QScript =>
private
def
createRun
()
:
Int
=
{
val
db
=
SummaryDb
.
openSqliteSummary
(
summaryDbFile
)
val
id
=
Await
.
result
(
db
.
createRun
(
summaryName
,
outputDir
),
Duration
.
Inf
)
val
dir
=
root
match
{
case
q
:
BiopetQScript
=>
q
.
outputDir
case
_
=>
throw
new
IllegalStateException
(
"Root should be a BiopetQscript"
)
}
val
id
=
Await
.
result
(
db
.
createRun
(
summaryName
,
dir
.
getAbsolutePath
),
Duration
.
Inf
)
runIdFile
.
getParentFile
.
mkdir
()
val
writer
=
new
PrintWriter
(
runIdFile
)
writer
.
println
(
id
)
...
...
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