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