Mercurial > repos > siwaa > erecord_text
diff erecord_text.xml @ 0:5edb952b394e draft default tip
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/erecord-deploy/-/tree/main/galaxy-tools/erecord_text commit c9272a57d834895bf21c987be7d7416532cfa23f-dirty
author | siwaa |
---|---|
date | Tue, 27 Feb 2024 07:58:55 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/erecord_text.xml Tue Feb 27 07:58:55 2024 +0000 @@ -0,0 +1,101 @@ +<tool id="erecord_text" name="erecord_text" version="1.0.0"> + + <description>erecord returning .json</description> + + <requirements> + + <!-- singularity --> + <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/erecord-deploy/rep_recordb:9d6ea1defd50dd63fe036a7545a9ea527572192e</container> + + <!-- image locale --> + <!-- container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/erecord-deploy/containers/_fab_SIMG/rep_recordb.simg</container--> + + </requirements> + + <command detect_errors="aggressive"> + <![CDATA[ + . /PYVENV/bin/activate; + /bin/bash -c "python3 $__tool_directory__/main_text.py -data '${input_text}' -datafolder ${datafolder}"; + cp WS/OUT/output.json ${output_json}; + ]]> + </command> + + <inputs> + + <param name="input_text" optional="true" type="text" area="true" + label="Input json as text"/> + + <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_text.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_text.py + +Inputs: + +------- + +- data json as text (optional) (text, param type="text") + + - This data contains the action value + - Examples : + + - {"action":"pkg_list"} + - {"action": "post_vpz_output", "pkgname": "wwdm", "vpzname": "wwdm.vpz", "style": "compactlist", "plan":"linear", "restype" : "matrix", "cond_wwdm.A": [0.0063, 0.0065, 0.0067], "cond_wwdm.B": 0.00201, "duration":6.0, "outselect": "view"} + +- 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>