Mercurial > repos > tduigou > data_manager_cache
view data_manager/cache_fetcher.xml @ 3:acc6477faf1c draft default tip
planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty
| author | tduigou |
|---|---|
| date | Tue, 05 Jul 2022 14:16:43 +0000 |
| parents | 35c33747b9e3 |
| children |
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> <requirement type="package" version="2.28.1">requests</requirement> </requirements> <command detect_errors="exit_code"><![CDATA[ python '$__tool_directory__/cache_fetcher.py' --outfile '$out_file' --filename '$filename' ]]> </command> <inputs> <param name="filename" type="text" value="cid_strc" label="cache file name to download" optional="False" /> </inputs> <outputs> <data name="out_file" format="data_manager_json" /> </outputs> <tests> <test> <param name="filename" value="cid_strc"/> <output name="out_file"> <assert_contents> <has_text text="cid_strc"/> <has_text text="cid_strc.json.gz"/> </assert_contents> </output> </test> </tests> <help><![CDATA[ This tool fetches a cache file. ]]></help> <citations> </citations> </tool>
