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
1199a39e
Commit
1199a39e
authored
Oct 01, 2015
by
Peter van 't Hof
Browse files
Use combine resources for pipes
parent
e7a138d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetFifoPipe.scala
View file @
1199a39e
...
...
@@ -70,6 +70,10 @@ class BiopetFifoPipe(val root: Configurable,
fifosFiles
.
map
(
required
(
"rm"
,
_
)).
mkString
(
"\n\n"
,
" \n"
,
" \n\n"
)
+
BiopetFifoPipe
.
endScript
}
override
def
setResources
()
:
Unit
=
{
combineResources
(
commands
)
}
}
object
BiopetFifoPipe
{
...
...
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetPipe.scala
View file @
1199a39e
...
...
@@ -45,6 +45,10 @@ class BiopetPipe(val commands: List[BiopetCommandLineFunction]) extends BiopetCo
require
(
inputOutput
.
isEmpty
,
"File found as input and output in the same job, files: "
+
inputOutput
.
mkString
(
", "
))
}
override
def
setResources
()
:
Unit
=
{
combineResources
(
pipesJobs
)
}
override
def
defaultCoreMemory
=
0.0
override
def
defaultThreads
=
0
...
...
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