Mercurial > repos > siwaa > erecord_json
comparison erecord_json.xml @ 0:8a0659f23df7 draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/erecord-deploy/-/tree/main/galaxy-tools/erecord_json commit 88beb443a737b4c4d42bb0011a26a0acf535c366
| author | siwaa |
|---|---|
| date | Tue, 12 Dec 2023 17:37:35 +0000 |
| parents | |
| children | d87b8a1073ad |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:8a0659f23df7 |
|---|---|
| 1 <tool id="erecord_json" name="erecord_json" version="1.0.0"> | |
| 2 | |
| 3 <description>erecord returning .json</description> | |
| 4 | |
| 5 <requirements> | |
| 6 | |
| 7 <!-- singularity --> | |
| 8 <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/erecord-deploy/erecord_rep0_vle2:82d8fea607be20851e194828125785fb0f7e96d0</container> | |
| 9 | |
| 10 </requirements> | |
| 11 | |
| 12 <command detect_errors="aggressive"> | |
| 13 <![CDATA[ | |
| 14 /bin/bash -c "python3 $__tool_directory__/main_json.py -data ${input_json} -datafolder ${datafolder}"; | |
| 15 cp WS/OUT/output.json ${output_json}; | |
| 16 ]]> | |
| 17 </command> | |
| 18 | |
| 19 <inputs> | |
| 20 | |
| 21 <param name="input_json" optional="true" type="data" format="json" | |
| 22 label="Input json file"/> | |
| 23 | |
| 24 <param name="datafolder" optional="true" type="data" format="zip" | |
| 25 label="Add a datafolder zip file (available and used only in 'post_vpz_output' or 'post_vpz_inout' cases)" | |
| 26 help="Precisions sur forme du dossier..."/> | |
| 27 | |
| 28 </inputs> | |
| 29 | |
| 30 <outputs> | |
| 31 <data format="json" name="output_json" label="jsonoutput"/> | |
| 32 </outputs> | |
| 33 | |
| 34 <tests> | |
| 35 </tests> | |
| 36 | |
| 37 <help><![CDATA[ | |
| 38 | |
| 39 erecord_json.xml | |
| 40 | |
| 41 ================ | |
| 42 | |
| 43 Actions: | |
| 44 | |
| 45 ------- | |
| 46 | |
| 47 - Available : | |
| 48 - 'get_vpz_input' 'post_vpz_input' | |
| 49 - 'get_vpz_output' 'post_vpz_output' | |
| 50 - 'get_vpz_inout' 'post_vpz_inout' | |
| 51 - 'get_pkg_list' 'get_pkg_vpz_list' 'get_pkg_data_list' | |
| 52 - 'help' | |
| 53 | |
| 54 - Unavailable (actions with 2 output files) : | |
| 55 - 'get_vpz_experiment' 'post_vpz_experiment' | |
| 56 - 'get_vpz_report_conditions' 'post_vpz_report_conditions' | |
| 57 - 'get_vpz_report' 'post_vpz_report' | |
| 58 | |
| 59 Code: | |
| 60 | |
| 61 ---- | |
| 62 | |
| 63 - main_json.py | |
| 64 | |
| 65 Inputs: | |
| 66 | |
| 67 ------- | |
| 68 | |
| 69 - data json file (optional) (json file, param type="data") | |
| 70 | |
| 71 This file contains the action value | |
| 72 | |
| 73 - datafolder (optional) (only in 'post_vpz_output', 'post_vpz_inout' cases) | |
| 74 | |
| 75 Outputs: | |
| 76 | |
| 77 -------- | |
| 78 | |
| 79 - data json file (no other file returned) | |
| 80 | |
| 81 Credits: | |
| 82 | |
| 83 -------- | |
| 84 | |
| 85 - Author: Nathalie Rousse nathalie.rousse@inrae.fr | |
| 86 - Copyright: INRAE | |
| 87 | |
| 88 ]]> | |
| 89 </help> | |
| 90 | |
| 91 </tool> |
