Mercurial > repos > siwaa > gama_desc
comparison gama_desc.xml @ 0:23b15c0eabff draft default tip
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/gama/GAMA_DESC/galaxy-tools commit 6b9b95de1fe709f27a28d83797f81e91469edf79-dirty
| author | siwaa |
|---|---|
| date | Mon, 18 Nov 2024 13:57:51 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:23b15c0eabff |
|---|---|
| 1 <tool id="gama_desc" name="gama_desc" version="1.0.0"> | |
| 2 | |
| 3 <description>tool producing a description JSON data of a GAML model file</description> | |
| 4 | |
| 5 <requirements> | |
| 6 | |
| 7 <!-- singularity --> | |
| 8 <container type="docker">python:3.10-slim</container> | |
| 9 | |
| 10 </requirements> | |
| 11 | |
| 12 <command detect_errors="aggressive"> | |
| 13 <![CDATA[ | |
| 14 cp $__tool_directory__/desc.py .; | |
| 15 cp ${model_gaml} model.gaml; | |
| 16 python3 desc.py; | |
| 17 cp desc.json ${desc_json}; | |
| 18 ]]> | |
| 19 </command> | |
| 20 | |
| 21 <inputs> | |
| 22 | |
| 23 <param name="model_gaml" optional="false" type="data" format="txt" | |
| 24 label="GAML model (.gaml format)"/> | |
| 25 | |
| 26 </inputs> | |
| 27 | |
| 28 <outputs> | |
| 29 <data format="json" name="desc_json" label="JSON description of GAML model"/> | |
| 30 </outputs> | |
| 31 | |
| 32 <tests> | |
| 33 </tests> | |
| 34 | |
| 35 <help><![CDATA[ | |
| 36 | |
| 37 Desc: | |
| 38 | |
| 39 ----- | |
| 40 | |
| 41 gama_desc.xml tool produces a description JSON data of a GAML model file. | |
| 42 | |
| 43 Inputs: | |
| 44 | |
| 45 - model_gaml | |
| 46 | |
| 47 Outputs: | |
| 48 | |
| 49 - desc_json | |
| 50 | |
| 51 Credits: | |
| 52 | |
| 53 -------- | |
| 54 | |
| 55 - Author: Nathalie Rousse nathalie.rousse@inrae.fr | |
| 56 - Copyright: INRAE | |
| 57 | |
| 58 ]]> | |
| 59 </help> | |
| 60 | |
| 61 </tool> | |
| 62 |
