diff bowtie2_macros.xml @ 28:8681e741a037 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d142d9cd5a8db8a87184c4b7622ea8de8355894f"
author iuc
date Sat, 10 Jul 2021 07:44:43 +0000
parents c9105910063f
children 2f3400246bfc
line wrap: on
line diff
--- a/bowtie2_macros.xml	Tue Jan 12 16:57:59 2021 +0000
+++ b/bowtie2_macros.xml	Sat Jul 10 07:44:43 2021 +0000
@@ -24,7 +24,7 @@
         #import itertools
         #set $input_name1 = $clean($identifier_or_name($input1))
         #set $input_name2 = $clean($identifier_or_name($input2))
-        #set $common_prefix = ''.join([c[0] for c in itertools.takewhile(lambda x: all(x[0] == y for y in x), itertools.izip(*[$input_name1, $input_name2]))])
+        #set $common_prefix = ''.join([c[0] for c in itertools.takewhile(lambda x: all(x[0] == y for y in x), zip(*[$input_name1, $input_name2]))])
         #if len($common_prefix) > 3
             #return $common_prefix
         #else