comparison macros.xml @ 1:cd2a99849f8b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit 81f69ad5f39223059c40501e55ac777d3feca845
author iuc
date Fri, 18 Aug 2017 16:47:57 -0400
parents 6fbd9d25ceef
children fe7be5634ab3
comparison
equal deleted inserted replaced
0:6fbd9d25ceef 1:cd2a99849f8b
58 #silent $input_filters.append($filter_dict) 58 #silent $input_filters.append($filter_dict)
59 #end if 59 #end if
60 #end for 60 #end for
61 ]]> 61 ]]>
62 </token> 62 </token>
63 <token name="@RESULT_HEADER@">
64 <![CDATA[
65 #if $query_result.header == 'yes':
66 #if $query_result.header_prefix:
67 #set $header_prefix = chr(int(str($query_result.header_prefix)))
68 --comment_char='$header_prefix'
69 #end if
70 #else
71 --no_header
72 #end if
73 ]]>
74 </token>
75 <xml name="comment_char_options">
76 <option value="62">&gt;</option>
77 <option value="64">@</option>
78 <option value="43">+</option>
79 <option value="60">&lt;</option>
80 <option value="42">*</option>
81 <option value="45">-</option>
82 <option value="61">=</option>
83 <option value="124">|</option>
84 <option value="63">?</option>
85 <option value="36">$</option>
86 <option value="46">.</option>
87 <option value="58">:</option>
88 <option value="38">&amp;</option>
89 <option value="37">%</option>
90 <option value="94">^</option>
91 <option value="35" selected="true">&#35;</option>
92 <option value="33">!</option>
93 </xml>
94 <xml name="result_results_header_line">
95 <conditional name="query_result">
96 <param name="header" type="select" label="include query result column headers">
97 <option value="yes">Yes</option>
98 <option value="no">No</option>
99 </param>
100 <when value="yes">
101 <param name="header_prefix" type="select" optional="true" label="Prefix character for column_header line">
102 <option value="">no comment character prefix</option>
103 <expand macro="comment_char_options" />
104 </param>
105 </when>
106 <when value="no"/>
107 </conditional>
108 </xml>
63 <xml name="macro_line_filters"> 109 <xml name="macro_line_filters">
64 <repeat name="linefilters" title="Filter Tabular Input Lines"> 110 <repeat name="linefilters" title="Filter Tabular Input Lines">
65 <conditional name="filter"> 111 <conditional name="filter">
66 <param name="filter_type" type="select" label="Filter By"> 112 <param name="filter_type" type="select" label="Filter By">
67 <option value="skip">skip leading lines</option> 113 <option value="skip">skip leading lines</option>
79 <param name="skip_lines" type="integer" value="" min="0" optional="true" label="Skip lines" 125 <param name="skip_lines" type="integer" value="" min="0" optional="true" label="Skip lines"
80 help="Leave blank to use the comment lines metadata for this dataset" /> 126 help="Leave blank to use the comment lines metadata for this dataset" />
81 </when> 127 </when>
82 <when value="comment"> 128 <when value="comment">
83 <param name="comment_char" type="select" display="checkboxes" multiple="True" label="Ignore lines beginning with these characters" help="lines beginning with these are skipped"> 129 <param name="comment_char" type="select" display="checkboxes" multiple="True" label="Ignore lines beginning with these characters" help="lines beginning with these are skipped">
84 <option value="62">&gt;</option> 130 <expand macro="comment_char_options" />
85 <option value="64">@</option>
86 <option value="43">+</option>
87 <option value="60">&lt;</option>
88 <option value="42">*</option>
89 <option value="45">-</option>
90 <option value="61">=</option>
91 <option value="124">|</option>
92 <option value="63">?</option>
93 <option value="36">$</option>
94 <option value="46">.</option>
95 <option value="58">:</option>
96 <option value="38">&amp;</option>
97 <option value="37">%</option>
98 <option value="94">^</option>
99 <option value="35">&#35;</option>
100 <option value="33">!</option>
101 </param> 131 </param>
102 </when> 132 </when>
103 <when value="prepend_line_num"/> 133 <when value="prepend_line_num"/>
104 <when value="append_line_num"/> 134 <when value="append_line_num"/>
105 <when value="prepend_text"> 135 <when value="prepend_text">