Mercurial > repos > siwaa > erecord_json
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/erecord_json.xml Tue Dec 12 17:37:35 2023 +0000 @@ -0,0 +1,91 @@ +<tool id="erecord_json" name="erecord_json" version="1.0.0"> + + <description>erecord returning .json</description> + + <requirements> + + <!-- singularity --> + <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/erecord-deploy/erecord_rep0_vle2:82d8fea607be20851e194828125785fb0f7e96d0</container> + + </requirements> + + <command detect_errors="aggressive"> + <![CDATA[ + /bin/bash -c "python3 $__tool_directory__/main_json.py -data ${input_json} -datafolder ${datafolder}"; + cp WS/OUT/output.json ${output_json}; + ]]> + </command> + + <inputs> + + <param name="input_json" optional="true" type="data" format="json" + label="Input json file"/> + + <param name="datafolder" optional="true" type="data" format="zip" + label="Add a datafolder zip file (available and used only in 'post_vpz_output' or 'post_vpz_inout' cases)" + help="Precisions sur forme du dossier..."/> + + </inputs> + + <outputs> + <data format="json" name="output_json" label="jsonoutput"/> + </outputs> + + <tests> + </tests> + + <help><![CDATA[ + +erecord_json.xml + +================ + +Actions: + +------- + +- Available : + - 'get_vpz_input' 'post_vpz_input' + - 'get_vpz_output' 'post_vpz_output' + - 'get_vpz_inout' 'post_vpz_inout' + - 'get_pkg_list' 'get_pkg_vpz_list' 'get_pkg_data_list' + - 'help' + +- Unavailable (actions with 2 output files) : + - 'get_vpz_experiment' 'post_vpz_experiment' + - 'get_vpz_report_conditions' 'post_vpz_report_conditions' + - 'get_vpz_report' 'post_vpz_report' + +Code: + +---- + +- main_json.py + +Inputs: + +------- + +- data json file (optional) (json file, param type="data") + + This file contains the action value + +- datafolder (optional) (only in 'post_vpz_output', 'post_vpz_inout' cases) + +Outputs: + +-------- + +- data json file (no other file returned) + +Credits: + +-------- + +- Author: Nathalie Rousse nathalie.rousse@inrae.fr +- Copyright: INRAE + + ]]> + </help> + +</tool>