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
a1f807a5
Commit
a1f807a5
authored
Sep 22, 2014
by
Peter van 't Hof
Browse files
Run after graph after script
parent
52cc9aaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
View file @
a1f807a5
...
...
@@ -29,10 +29,10 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
@Argument
(
doc
=
"Executable"
)
var
executable
:
String
=
_
protected
def
beforeCmd
{
protected
[
core
]
def
beforeCmd
{
}
protected
def
afterGraph
{
protected
[
core
]
def
afterGraph
{
}
override
def
freezeFieldValues
()
{
...
...
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
View file @
a1f807a5
...
...
@@ -22,11 +22,17 @@ trait BiopetQScript extends Configurable {
def
init
def
biopetScript
var
functions
:
Seq
[
QFunction
]
final
def
script
()
{
for
(
file
<-
configfiles
)
globalConfig
.
loadConfigFile
(
file
)
if
(!
outputDir
.
endsWith
(
"/"
))
outputDir
+=
"/"
init
biopetScript
for
(
function
<-
functions
)
function
match
{
case
f
:
BiopetCommandLineFunctionTrait
=>
f
.
afterGraph
case
_
=>
}
val
configReport
=
globalConfig
.
getReport
val
configReportFile
=
new
File
(
outputDir
+
qSettings
.
runName
+
".configreport.txt"
)
configReportFile
.
getParentFile
.
mkdir
...
...
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