Skip to content

Commit

Permalink
Update read_group_name_default macro to be used in Python3 (galaxypro…
Browse files Browse the repository at this point in the history
…ject#4002)

* Update macros
  • Loading branch information
gallardoalba authored Oct 4, 2021
1 parent 902dc45 commit 359af37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/read_group_macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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
Expand Down

0 comments on commit 359af37

Please sign in to comment.