Commit 1199a39e authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Use combine resources for pipes

parent e7a138d9
......@@ -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 {
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment