comparison gemini_macros.xml @ 3:ef9991a4a9a7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d
author iuc
date Wed, 17 Oct 2018 13:24:51 -0400
parents 9ed33f571d1d
children 7b031989ea12
comparison
equal deleted inserted replaced
2:9ed33f571d1d 3:ef9991a4a9a7
86 </conditional> 86 </conditional>
87 </xml> 87 </xml>
88 88
89 <xml name="sanitize_query"> 89 <xml name="sanitize_query">
90 <sanitizer invalid_char=""> 90 <sanitizer invalid_char="">
91 <valid initial="string.printable"/> 91 <valid initial="string.printable">
92 <remove value="&apos;" />
93 </valid>
94 <mapping initial="none">
95 <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;" />
96 </mapping>
92 </sanitizer> 97 </sanitizer>
93 </xml> 98 </xml>
94 99
100 <token name="@MULTILN_SQL_EXPR_TO_CMDLN@">
101 #set $sql_expr = str($multiline_sql_expr).strip()
102 #if str($sql_expr):
103 #set $sql_expr = $sql_expr.replace('\r\n', '\n')
104 #set $sql_expr = $sql_expr.replace('\r', '\n')
105 #set $sql_expr = $sql_expr.replace('\\\n', ' ')
106 $cmdln_param '$sql_expr'
107 #end if
108 </token>
109
95 <token name="@CMDLN_SQL_FILTER_FILTER_OPTION@"> 110 <token name="@CMDLN_SQL_FILTER_FILTER_OPTION@">
96 #if str($filter.filter_selector) == 'yes' and $filter.filter: 111 #if str($filter.filter_selector) == 'yes' and $filter.filter:
97 #import pipes 112 --filter '${ str( $filter.filter ) }'
98 --filter ${ pipes.quote( str( $filter.filter ) ) or "''" }
99 #end if 113 #end if
100 </token> 114 </token>
101 115
102 <token name="@COLUMN_SELECT@"> 116 <token name="@COLUMN_SELECT@">
103 #if $report.report_selector != 'all': 117 #if $report.report_selector != 'all':