diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gama_desc.xml	Mon Nov 18 13:57:51 2024 +0000
@@ -0,0 +1,62 @@
+<tool id="gama_desc" name="gama_desc" version="1.0.0">
+
+  <description>tool producing a description JSON data of a GAML model file</description>
+
+  <requirements>
+
+    <!-- singularity --> 
+    <container type="docker">python:3.10-slim</container>
+
+  </requirements>
+
+  <command detect_errors="aggressive">
+    <![CDATA[
+    cp $__tool_directory__/desc.py .;
+    cp ${model_gaml} model.gaml;
+    python3 desc.py;
+    cp desc.json ${desc_json};
+    ]]>
+  </command>
+
+  <inputs>
+
+    <param name="model_gaml" optional="false" type="data" format="txt"
+           label="GAML model (.gaml format)"/>
+
+  </inputs>
+
+  <outputs>
+    <data format="json" name="desc_json" label="JSON description of GAML model"/>
+  </outputs>
+
+  <tests>
+  </tests>
+
+  <help><![CDATA[
+
+Desc:
+
+-----
+
+gama_desc.xml tool produces a description JSON data of a GAML model file.
+
+Inputs:
+
+  - model_gaml
+
+Outputs:
+
+  - desc_json
+
+Credits:
+
+--------
+
+-  Author: Nathalie Rousse nathalie.rousse@inrae.fr
+-  Copyright: INRAE
+
+  ]]>
+  </help>
+
+</tool>
+