Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed May 3, 2024
1 parent 0b25490 commit 6e1b4f2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tools/bowtie2/bowtie2_macros.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<macros>
<token name="@TOOL_VERSION@">2.5.3</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">1</token>
<!-- Import this at the top of your command block and then
define rg_auto_name. -->
<token name="@define_read_group_helpers@">
Expand Down Expand Up @@ -59,15 +59,15 @@
#if $use_rg
#if $rg_param('read_group_id_conditional') is None
#set $rg_id = $rg_auto_name
#elif $rg_param('read_group_id_conditional').do_auto_name
#elif $rg_param('read_group_id_conditional').do_auto_name == 'true'
#set $rg_id = $rg_auto_name
#else
#set $rg_id = str($rg_param('read_group_id_conditional').ID)
#end if

#if $rg_param('read_group_sm_conditional') is None
#set $rg_sm = ''
#elif $rg_param('read_group_sm_conditional').do_auto_name
#elif $rg_param('read_group_sm_conditional').do_auto_name == 'true'
#set $rg_sm = $rg_auto_name
#else
#set $rg_sm = str($rg_param('read_group_sm_conditional').SM)
Expand All @@ -81,7 +81,7 @@

#if $rg_param('read_group_lb_conditional') is None
#set $rg_lb = ''
#elif $rg_param('read_group_lb_conditional').do_auto_name
#elif $rg_param('read_group_lb_conditional').do_auto_name == 'true'
#set $rg_lb = $rg_auto_name
#else
#set $rg_lb = str($rg_param('read_group_lb_conditional').LB)
Expand Down Expand Up @@ -140,9 +140,11 @@
#set $use_rg = str($rg.rg_selector) != "do_not_set"
</token>
<xml name="read_group_auto_name_conditional">
<param name="do_auto_name" type="boolean" label="Auto-assign" help="Use dataset name or collection information to automatically assign this value" checked="false" />
<when value="true">
</when>
<param name="do_auto_name" type="select" label="Auto-assign" help="Use dataset name or collection information to automatically assign this value">
<option value="false">No</option>
<option value="true">Yes</option>
</param>
<when value="true"/>
<when value="false">
<yield />
</when>
Expand Down

0 comments on commit 6e1b4f2

Please sign in to comment.