Mercurial > repos > artbio > facturation_ibps
view 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 |
line wrap: on
line source
<tool id="facturation_ibps" name="IBPS facturation parser" version="0.7.0"> <description /> <requirements> <requirement type="package" version="4.9.0">beautifulsoup4</requirement> <requirement type="package" version="1.0.1">html5lib</requirement> <requirement type="package" version="3.0.3">openpyxl</requirement> <requirement type="package" version="1.0.3">pandas</requirement> <requirement type="package" version="7.1.2=py38h9776b28_0">pillow</requirement> </requirements> <command detect_errors="exit_code"><![CDATA[ cp $__tool_directory__/template_* . && python $__tool_directory__/facturation.py -t $__tool_directory__/"$template" -r $reduction -i $input -o $output ]]></command> <inputs> <param format="data" label="Fichier html source" name="input" type="data" /> <param name="template" type="select" label="Service émetteur" help="Indiquer le service émetteur" > <option value="template_facture_M_photonique.xlsx" >Microscopie Optique</option> <option value="template_facture_M_electronique.xlsx" >Microscopie Electronique</option> </param> <param type="float" label="réduction à appliquer" name="reduction" value="0.00" help="Entrer la réduction comme un nombre réel, ie si 20% réduction --> entrer '0.2'. NB: cette réduction s'applique à l'ensemble des prestations du tableau" /> </inputs> <outputs> <data format="xlsx" name="output" label="${input.name}.xlsx" /> </outputs> <tests> <test> <param ftype="txt" name="input" value="doublefacture.htm" /> <param name="template" value="template_facture_M_photonique.xlsx" /> <output file="testdouble.xlsx" name="output" compare="sim_size" delta="1" /> </test> <test> <param ftype="txt" name="input" value="facture.htm" /> <param name="template" value="template_facture_M_photonique.xlsx" /> <output file="testfacture.xlsx" name="output" compare="sim_size" delta="1" /> </test> <test> <param ftype="txt" name="input" value="Microscopie_Electronique-2018-67.html" /> <param name="template" value="template_facture_M_electronique.xlsx" /> <output file="testfacture_electronique.xlsx" name="output" compare="sim_size" delta="1" /> </test> <test> <param ftype="txt" name="input" value="Microscopie_Electronique-2018-67.html" /> <param name="template" value="template_facture_M_electronique.xlsx" /> <param name="reduction" value="0.34" /> <output file="testfacture_electronique_reduc.xlsx" name="output" compare="sim_size" delta="100" /> </test> </tests> <help> .. class:: infomark **What it does** Génère un fichier Excel de facturation à partir du fichier html du système actuel de l'IBPS. </help> <citations /> </tool>