Mercurial > repos > tduigou > data_manager_cache
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e0b92d203870 |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool id="cache_fetcher" name="cache data manager" tool_type="manage_data" profile="18.09" version="0.0.1"> | |
| 3 <description>Download cache file</description> | |
| 4 <requirements> | |
| 5 <requirement type="package" version="3.7">python</requirement> | |
| 6 </requirements> | |
| 7 <command detect_errors="exit_code"><![CDATA[ | |
| 8 python '$__tool_directory__/cache_fetcher.py' | |
| 9 --outfile '$out_file' | |
| 10 --url '$url' | |
| 11 ]]> | |
| 12 </command> | |
| 13 <inputs> | |
| 14 <param name="url" type="text" value="https://gitlab.com/breakthewall/rrCache-data/-/raw/master/" label="URL to download the cache file" optional="False" /> | |
| 15 </inputs> | |
| 16 <outputs> | |
| 17 <data name="out_file" format="data_manager_json" /> | |
| 18 </outputs> | |
| 19 <tests> | |
| 20 <test> | |
| 21 <param name="url" value="https://gitlab.com/breakthewall/rrCache-data/-/raw/master/"/> | |
| 22 <output name="out_file" value="cid_strc.json.gz" compare="contains"/> | |
| 23 </test> | |
| 24 </tests> | |
| 25 <help><![CDATA[ | |
| 26 This tool fetches a cache file. | |
| 27 ]]></help> | |
| 28 <citations> | |
| 29 </citations> | |
| 30 </tool> |
