changeset 37:79df147da633 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bismark commit 2d8f9bfd501f1cd82b5cf0429c1b02b3784392ab"
author bgruening
date Fri, 04 Oct 2019 11:33:01 -0400
parents 510201905412
children b2d0e92f81c2
files bismark_methylation_extractor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bismark_methylation_extractor.py	Fri Oct 04 07:54:19 2019 -0400
+++ b/bismark_methylation_extractor.py	Fri Oct 04 11:33:01 2019 -0400
@@ -97,7 +97,7 @@
     # Set up all options
     if args.multicore > 3:
         # divide multicore by 3 here since bismark will spawn ~3 jobs.
-        cmd.extend(['--multicore', str(math.ceil(args.multicore / 3))])
+        cmd.extend(['--multicore', str(int(math.floor(args.multicore / 3)))])
     if args.single_end:
         cmd.append('--single-end')
     else: