view macros.xml @ 2:bcb6009d5af7 draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/ogc_api_processes_wrapper commit e03f4d27ec44d873aacdf406d7a26ec8038e9b05
author ecology
date Wed, 08 May 2024 21:05:47 +0000
parents f6288dd4b77a
children
line wrap: on
line source

<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 (OTB) 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/tiff"/>
                <output name="output_data">
                    <assert_contents>
                        <has_n_lines n="1"/>
                    </assert_contents>
                </output>
            </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/tiff"/>
                <param name="foutpos_outformat" value="image/tiff"/>
                <output name="output_data">
                    <assert_contents>
                        <has_n_lines n="2"/>
                    </assert_contents>
                </output>
            </test>
        </tests>    
    </xml>
</macros>