diff macros.xml @ 0:f6288dd4b77a draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/ogc_api_processes_wrapper commit 4089d69de9c54df0930f55572e95bf3d22bf5e70
author ecology
date Sat, 04 May 2024 08:42:42 +0000
parents
children bcb6009d5af7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Sat May 04 08:42:42 2024 +0000
@@ -0,0 +1,60 @@
+<macros>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="4.3.1">r-base</requirement>
+            <requirement type="package" version="1.20.4">r-getopt</requirement>
+            <requirement type="package" version="0.2.3">r-httr2</requirement>
+            <requirement type="package" version="1.8.7">r-jsonlite</requirement>
+        </requirements>
+    </xml>
+    <xml name="out_options">
+        <option value="uint8">uint8</option>
+        <option value="uint16">uint16</option>
+        <option value="int16">int16</option>
+        <option value="int32">int32</option>
+        <option value="float">float</option>
+        <option value="double">double</option>
+    </xml>
+    <xml name="format_options">
+        <option value="image/tiff">image/tiff</option>
+        <option value="image/jpeg">image/jpeg</option>
+        <option value="image/png">image/png</option>
+    </xml>
+    <xml name="citations">
+        <citations>
+            <citation type="bibtex">@Manual{httr2, title = {httr2: Perform HTTP Requests and Process the Responses}, author = {Hadley Wickham}, year = {2023}, note = {R package version 1.0.0, https://github.com/r-lib/httr2}, url = {https://httr2.r-lib.org},}</citation>
+            <citation type="doi">10.48550/arXiv.1403.2805</citation>
+        </citations>
+    </xml>
+    <xml name="help">
+        <help>This tool is a wrapper for OGC API Processes coming from the Zoo Project (https://zoo-project.github.io/docs/intro.html) and was created using the OGC-API-Process2Galaxy tool (https://github.com/AquaINFRA/OGC-API-Process2Galaxy). Check the README in the repository for more information.</help>
+    </xml>
+    <xml name="tests">
+        <tests>
+            <test>
+                <param name="select_process" value="OTB.BandMath"/>
+                <param name="il" value="otb_band_math_test_input.txt"/>
+                <param name="out" value="float"/>
+                <param name="ram" value="256"/>
+                <param name="exp" value="im1b3,im1b2,im1b1"/>
+                <param name="out_outformat" value="image/png"/>
+                <output_collection name="output_data" type="list" count="2"/>
+            </test>
+            <test>
+                <param name="select_process" value="OTB.MeanShiftSmoothing"/>
+                <param name="in" value="otb_mean_shift_smoothing_test_input.txt"/>
+                <param name="fout" value="float"/>
+                <param name="foutpos" value="float"/>
+                <param name="spatialr" value="5"/>
+                <param name="ranger" value="15"/>
+                <param name="thres" value="0.1"/>
+                <param name="maxiter" value="100"/>
+                <param name="rangeramp" value="0"/>
+                <param name="modesearch" value="False"/>
+                <param name="fout_outformat" value="image/png"/>
+                <param name="foutpos_outformat" value="image/png"/>
+                <output_collection name="output_data" type="list" count="2"/>
+            </test>
+        </tests>    
+    </xml>
+</macros>