File tree Expand file tree Collapse file tree 3 files changed +9
-17
lines changed
Expand file tree Collapse file tree 3 files changed +9
-17
lines changed Original file line number Diff line number Diff line change 2828
2929 <xml name =" regex_sanitizer" >
3030 <sanitizer >
31- <valid initial =" string.ascii_letters,string.digits " >
31+ <valid initial =" default " >
3232 <add value =" ^" />
3333 <add value =" $" />
34- <add value =" (" />
35- <add value =" )" />
3634 <add value =" |" />
37- <add value =" ?" />
38- <add value =" *" />
39- <add value =" +" />
4035 <add value =" {" />
4136 <add value =" }" />
4237 <add value =" \" />
4338 <add value =" [" />
4439 <add value =" ]" />
45- <add value =" ." />
46- <add value =" ," />
47- <add value =" _" />
48- <add value =" -" />
4940 </valid >
5041 </sanitizer >
51- <validator type =" empty_field" />
5242 <validator type =" regex" message =" Pattern must not end with backslash." >.*[^\\]$</validator >
5343 </xml >
5444</macros >
Original file line number Diff line number Diff line change 55 </xrefs> -->
66 <macros >
77 <import >macros.xml</import >
8- <token name =" @VERSION_SUFFIX@" >0 </token >
8+ <token name =" @VERSION_SUFFIX@" >1 </token >
99 </macros >
1010 <!-- TODO: please annotate this tool with topics and operations from http://edamontology.org -->
1111 <!-- TODO: for more information see: https://galaxy-iuc-standards.readthedocs.io/en/latest/best_practices/tool_xml.html#edam-topics-and-operations -->
5454 <tests >
5555 <test >
5656 <param name =" input_dataset" value =" reference.txt" ftype =" tabular" />
57- <param name =" column" value =" 2" />
58- <param name =" new_name" value =" retention_time" />
57+ <repeat name =" columns_selection" >
58+ <param name =" column" value =" 2" />
59+ <param name =" new_name" value =" retention_time" />
60+ </repeat >
5961 <output name =" output_dataset" file =" rename/reference_rt_renamed.tabular" ftype =" tabular" />
6062 </test >
6163 <test >
Original file line number Diff line number Diff line change 22 <description >rename columns in a table using regex</description >
33 <macros >
44 <import >macros.xml</import >
5- <token name =" @VERSION_SUFFIX@" >0 </token >
5+ <token name =" @VERSION_SUFFIX@" >1 </token >
66 </macros >
77
88 <requirements >
4848 <test expect_num_outputs =" 1" >
4949 <param name =" input_dataset" value =" rename/reference_both_renamed.tabular" ftype =" tabular" />
5050 <param name =" columns" value =" 1,2" />
51- <param name =" regex_check" value =" retention_" />
52- <param name =" regex_replace" value =" " />
51+ <param name =" regex_check" value =" (retention_){1}" />
5352 <output name =" output_dataset" ftype =" tabular" >
5453 <assert_contents >
5554 <has_text text =" retention" negate =" true" />
55+ <has_line line =" index	 time" />
5656 </assert_contents >
5757 </output >
5858 </test >
You can’t perform that action at this time.
0 commit comments