comparison facturation.xml @ 0:27f2ef353554 draft

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