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
2f9e2cc4
Commit
2f9e2cc4
authored
Mar 30, 2015
by
Peter van 't Hof
Browse files
adding more logging
parent
0bc37c76
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/report/ReportBuilder.scala
View file @
2f9e2cc4
...
...
@@ -39,6 +39,7 @@ trait ReportBuilder extends ToolCommand {
require
(
cmdArgs
.
outputDir
.
exists
(),
"Output dir does not exist"
)
require
(
cmdArgs
.
outputDir
.
isDirectory
,
"Output dir is not a directory"
)
logger
.
info
(
"Write Base files"
)
// Write css to output dir
val
cssDir
=
new
File
(
cmdArgs
.
outputDir
,
"css"
)
cssDir
.
mkdirs
()
...
...
@@ -46,8 +47,10 @@ trait ReportBuilder extends ToolCommand {
Source
.
fromInputStream
(
getClass
.
getResourceAsStream
(
"biopet.css"
)).
getLines
().
foreach
(
cssWriter
.
println
(
_
))
cssWriter
.
close
()
logger
.
info
(
"Parsing summary"
)
setSummary
=
new
Summary
(
cmdArgs
.
summary
)
logger
.
info
(
"Generate pages"
)
generatePage
(
summary
,
indexPage
,
cmdArgs
.
outputDir
,
args
=
pageArgs
++
Map
(
"summary"
->
summary
,
"reportName"
->
reportName
,
"indexPage"
->
indexPage
))
...
...
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