diff bismark_methylation_extractor.py @ 20:ff6ee551b153 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:27 -0400
parents 9bfe38410155
children 120b7b35e442
line wrap: on
line diff
--- a/bismark_methylation_extractor.py	Fri Oct 04 07:54:51 2019 -0400
+++ b/bismark_methylation_extractor.py	Fri Oct 04 11:33:27 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: