annotate zip.xml @ 0:e466f86a4520 draft default tip

Imported from capsule None
author cmonjeau
date Tue, 07 Jul 2015 08:49:28 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
1 <tool id="zip" name="Zip" version="1.0.1" >
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
2 <description>and name files</description>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
3 <command interpreter="python">
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
4 zip.py
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
5 $output
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
6 #for $num_repeat in $files
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
7 ${num_repeat.file}
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
8 ${num_repeat.file_name}
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
9 #end for
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
10 </command>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
11 <inputs>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
12 <repeat name="files" title="File to zip" min="1">
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
13 <param name="file_name" type="text" format="txt" label="Zipped file name (without spaces)">
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
14 <validator type="empty_field" message="Required field" />
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
15 <validator type="expression" message="Forbidden value (fic.zip)">value != 'fic.zip'</validator>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
16 <validator type="regex" message="Missing extension">.+\..+</validator>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
17 </param>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
18 <param name="file" type="data" label="File" />
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
19 </repeat>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
20 </inputs>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
21 <outputs>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
22 <data format="zip" name="output" label="zipped files: archive.zip" />
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
23 </outputs>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
24 <help>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
25 **Tool documentation**
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
26
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
27 This tool simply creates a zip file aggregating the input files. The name for the files has to be chosen by the user, it can't be empty and has to be with a least one extension.
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
28
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
29 The output is a zip file.
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
30
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
31 CHANGELOG : This tool can manage large files
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
32
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
33 --------
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
34
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
35 **Integrated by:**
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
36
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
37 Cyril Monjeaud
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
38 </help>
e466f86a4520 Imported from capsule None
cmonjeau
parents:
diff changeset
39 </tool>