annotate facturation.xml @ 1:e93bf8bd0e93 draft default tip

"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 6b477d835f8e555ead1571295c3db0a355af721d"
author artbio
date Sat, 20 Jun 2020 20:14:26 -0400
parents 27f2ef353554
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
e93bf8bd0e93 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 6b477d835f8e555ead1571295c3db0a355af721d"
artbio
parents: 0
diff changeset
1 <tool id="facturation_ibps" name="IBPS facturation parser" version="0.7.0">
0
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
2 <description />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
3 <requirements>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
4 <requirement type="package" version="4.9.0">beautifulsoup4</requirement>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
5 <requirement type="package" version="1.0.1">html5lib</requirement>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
6 <requirement type="package" version="3.0.3">openpyxl</requirement>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
7 <requirement type="package" version="1.0.3">pandas</requirement>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
8 <requirement type="package" version="7.1.2=py38h9776b28_0">pillow</requirement>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
9 </requirements>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
11 cp $__tool_directory__/template_* . &&
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
12 python $__tool_directory__/facturation.py
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
13 -t $__tool_directory__/"$template"
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
14 -r $reduction
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
15 -i $input
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
16 -o $output
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
17 ]]></command>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
18 <inputs>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
19 <param format="data" label="Fichier html source" name="input" type="data" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
20 <param name="template" type="select" label="Service émetteur" help="Indiquer le service émetteur" >
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
21 <option value="template_facture_M_photonique.xlsx" >Microscopie Optique</option>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
22 <option value="template_facture_M_electronique.xlsx" >Microscopie Electronique</option>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
23 </param>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
24 <param type="float" label="réduction à appliquer" name="reduction" value="0.00"
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
25 help="Entrer la réduction comme un nombre réel, ie si 20% réduction --> entrer '0.2'.
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
26 NB: cette réduction s'applique à l'ensemble des prestations du tableau" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
27 </inputs>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
28 <outputs>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
29 <data format="xlsx" name="output" label="${input.name}.xlsx" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
30 </outputs>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
31 <tests>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
32 <test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
33 <param ftype="txt" name="input" value="doublefacture.htm" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
34 <param name="template" value="template_facture_M_photonique.xlsx" />
1
e93bf8bd0e93 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 6b477d835f8e555ead1571295c3db0a355af721d"
artbio
parents: 0
diff changeset
35 <output file="testdouble.xlsx" name="output" compare="sim_size" delta="1" />
0
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
36 </test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
37 <test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
38 <param ftype="txt" name="input" value="facture.htm" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
39 <param name="template" value="template_facture_M_photonique.xlsx" />
1
e93bf8bd0e93 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 6b477d835f8e555ead1571295c3db0a355af721d"
artbio
parents: 0
diff changeset
40 <output file="testfacture.xlsx" name="output" compare="sim_size" delta="1" />
0
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
41 </test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
42 <test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
43 <param ftype="txt" name="input" value="Microscopie_Electronique-2018-67.html" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
44 <param name="template" value="template_facture_M_electronique.xlsx" />
1
e93bf8bd0e93 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 6b477d835f8e555ead1571295c3db0a355af721d"
artbio
parents: 0
diff changeset
45 <output file="testfacture_electronique.xlsx" name="output" compare="sim_size" delta="1" />
0
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
46 </test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
47 <test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
48 <param ftype="txt" name="input" value="Microscopie_Electronique-2018-67.html" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
49 <param name="template" value="template_facture_M_electronique.xlsx" />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
50 <param name="reduction" value="0.34" />
1
e93bf8bd0e93 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 6b477d835f8e555ead1571295c3db0a355af721d"
artbio
parents: 0
diff changeset
51 <output file="testfacture_electronique_reduc.xlsx" name="output" compare="sim_size" delta="100" />
0
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
52 </test>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
53 </tests>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
54 <help>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
55
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
56 .. class:: infomark
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
57
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
58 **What it does**
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
59
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
60 Génère un fichier Excel de facturation à partir du fichier html du système actuel de l'IBPS.
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
61
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
62 </help>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
63 <citations />
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
64 </tool>
27f2ef353554 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/facturation_ibps commit 07c73df696d6d80e03f03232603d713882131625"
artbio
parents:
diff changeset
65