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
5e0d74cb
Commit
5e0d74cb
authored
Jul 06, 2017
by
pjvan_thof
Browse files
Fixing type
parent
4f16f7d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/WriteDependencies.scala
View file @
5e0d74cb
...
...
@@ -63,11 +63,11 @@ object WriteDependencies extends Logging with Configurable {
case
class
QueueFile
(
file
:
File
)
{
private
val
inputJobs
:
ListBuffer
[
QFunction
]
=
ListBuffer
()
def
addInputJob
(
function
:
QFunction
)
:
inputJobs.
type
=
inputJobs
+=
function
def
addInputJob
(
function
:
QFunction
)
:
Unit
=
inputJobs
+=
function
def
inputJobNames
:
List
[
String
]
=
inputJobs
.
toList
.
map
(
functionNames
)
private
val
outputJobs
:
ListBuffer
[
QFunction
]
=
ListBuffer
()
def
addOutputJob
(
function
:
QFunction
)
:
outputJobs.
type
=
{
def
addOutputJob
(
function
:
QFunction
)
:
Unit
=
{
if
(
outputJobs
.
nonEmpty
)
logger
.
warn
(
s
"File '$file' is found as output of multiple jobs"
)
outputJobs
+=
function
}
...
...
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