comparison data_manager/cache_fetcher.xml @ 1:35c33747b9e3 draft

"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
author tduigou
date Tue, 05 Jul 2022 12:57:38 +0000
parents e0b92d203870
children
comparison
equal deleted inserted replaced
0:e0b92d203870 1:35c33747b9e3
1 <?xml version="1.0"?> 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"> 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> 3 <description>Download cache file</description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="3.7">python</requirement> 5 <requirement type="package" version="3.7">python</requirement>
6 <requirement type="package" version="2.28.1">requests</requirement>
6 </requirements> 7 </requirements>
7 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
8 python '$__tool_directory__/cache_fetcher.py' 9 python '$__tool_directory__/cache_fetcher.py'
9 --outfile '$out_file' 10 --outfile '$out_file'
10 --url '$url' 11 --filename '$filename'
11 ]]> 12 ]]>
12 </command> 13 </command>
13 <inputs> 14 <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 <param name="filename" type="text" value="cid_strc" label="cache file name to download" optional="False" />
15 </inputs> 16 </inputs>
16 <outputs> 17 <outputs>
17 <data name="out_file" format="data_manager_json" /> 18 <data name="out_file" format="data_manager_json" />
18 </outputs> 19 </outputs>
19 <tests> 20 <tests>
20 <test> 21 <test>
21 <param name="url" value="https://gitlab.com/breakthewall/rrCache-data/-/raw/master/"/> 22 <param name="filename" value="cid_strc"/>
22 <output name="out_file" value="cid_strc.json.gz" compare="contains"/> 23 <output name="out_file">
24 <assert_contents>
25 <has_text text="cid_strc"/>
26 <has_text text="cid_strc.json.gz"/>
27 </assert_contents>
28 </output>
23 </test> 29 </test>
24 </tests> 30 </tests>
25 <help><![CDATA[ 31 <help><![CDATA[
26 This tool fetches a cache file. 32 This tool fetches a cache file.
27 ]]></help> 33 ]]></help>