1
|
1 <?xml version='1.1' encoding='utf-8'?>
|
|
2 <tool id="Split_ExcelTabs_IntoFiles" name="Split Excel Tabs" version="1.0">
|
|
3 <description>into separate tab delimited files</description>
|
|
4 <command interpreter="python">Split_ExcelTabs_IntoFiles.py '$input' '' '$extra.tabnumber' '$output_file'</command>
|
|
5
|
|
6 <inputs>
|
|
7 <param name="input" type="data" format="txt" label="Input Excel.xls or Excel.xlsx file"> </param>
|
|
8
|
|
9 <conditional name="extra">
|
|
10 <param name="choice" type="select" label="Select tab" help="Select tab position or name">
|
|
11 <option value="tab_number">Tab number</option>
|
|
12 </param>
|
|
13 <!--
|
|
14 '$extra.tabname'
|
|
15 <option value="tab_name">Tab name</option>
|
|
16 <option value="all">All tabs in file</option>
|
|
17 <option value="1">First tab only</option>
|
|
18 </param>
|
|
19 <when value="tab_name">
|
|
20 <param name="tabname" type="text" size="20" value="" label="Tab Name" help="Spreadsheet Tab Name">
|
|
21 </param>
|
|
22 </when>
|
|
23 -->
|
|
24 <when value="tab_number">
|
|
25 <param name="tabnumber" type="text" size="2" value="1" label="Tab position" help="Integer Tab position from left">
|
|
26 </param>
|
|
27 </when>
|
|
28 </conditional>
|
|
29 </inputs>
|
|
30
|
|
31 <outputs>
|
|
32 <data name="output_file" format="tabular" label="Output File Name" help="Name based on Input file name and tab name"/>
|
|
33 </outputs>
|
|
34
|
|
35 </tool> |