Mercurial > repos > iuc > gemini_pathways
comparison gemini_macros.xml @ 3:6b09debcfc49 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:26:31 -0400 |
parents | 42d3c5077378 |
children | 69b5327a1f88 |
comparison
equal
deleted
inserted
replaced
2:42d3c5077378 | 3:6b09debcfc49 |
---|---|
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="'" /> | |
93 </valid> | |
94 <mapping initial="none"> | |
95 <add source="'" target="'"'"'" /> | |
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': |