view data_manager/cache_fetcher.xml @ 0:e0b92d203870 draft

"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
author tduigou
date Mon, 04 Jul 2022 13:28:30 +0000
parents
children 35c33747b9e3
line wrap: on
line source

<?xml version="1.0"?>
<tool id="cache_fetcher" name="cache data manager" tool_type="manage_data" profile="18.09" version="0.0.1">
    <description>Download cache file</description>
    <requirements>
        <requirement type="package" version="3.7">python</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
    python '$__tool_directory__/cache_fetcher.py'
    --outfile '$out_file'
    --url '$url'
    ]]>
    </command>
    <inputs>
        <param name="url" type="text" value="https://gitlab.com/breakthewall/rrCache-data/-/raw/master/" label="URL to download the cache file" optional="False" />
    </inputs>
    <outputs>
        <data name="out_file" format="data_manager_json" />
    </outputs>
    <tests>
        <test>
            <param name="url" value="https://gitlab.com/breakthewall/rrCache-data/-/raw/master/"/>
            <output name="out_file" value="cid_strc.json.gz" compare="contains"/>
        </test>
    </tests>
    <help><![CDATA[
This tool fetches a cache file.
    ]]></help>
    <citations>
    </citations>
</tool>