Skip to content
Snippets Groups Projects
Commit 96e36e5e authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added threads to pipe

parent 2dc0d533
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,8 @@ class BiopetPipe(val commands: List[BiopetCommandLineFunction]) extends BiopetCo
val inputOutput = input.filter(x => output.exists(y => x == y))
require(inputOutput.isEmpty, "File found as input and output in the same job, files: " + inputOutput.mkString(", "))
threads = commands.map(x => if (x.threads > 0) x.threads else 0).sum
}
val root: Configurable = commands.head.root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment