Mercurial > repos > tduigou > data_manager_cache
annotate 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 |
| rev | line source |
|---|---|
|
0
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
2 <tool id="cache_fetcher" name="cache data manager" tool_type="manage_data" profile="18.09" version="0.0.1"> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
3 <description>Download cache file</description> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
4 <requirements> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
5 <requirement type="package" version="3.7">python</requirement> |
|
1
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
6 <requirement type="package" version="2.28.1">requests</requirement> |
|
0
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
7 </requirements> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
9 python '$__tool_directory__/cache_fetcher.py' |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
10 --outfile '$out_file' |
|
1
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
11 --filename '$filename' |
|
0
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
12 ]]> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
13 </command> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
14 <inputs> |
|
1
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
15 <param name="filename" type="text" value="cid_strc" label="cache file name to download" optional="False" /> |
|
0
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
16 </inputs> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
17 <outputs> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
18 <data name="out_file" format="data_manager_json" /> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
19 </outputs> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
20 <tests> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
21 <test> |
|
1
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
22 <param name="filename" value="cid_strc"/> |
|
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
23 <output name="out_file"> |
|
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
24 <assert_contents> |
|
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
25 <has_text text="cid_strc"/> |
|
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
26 <has_text text="cid_strc.json.gz"/> |
|
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
27 </assert_contents> |
|
35c33747b9e3
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
28 </output> |
|
0
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
29 </test> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
30 </tests> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
31 <help><![CDATA[ |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
32 This tool fetches a cache file. |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
33 ]]></help> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
34 <citations> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
35 </citations> |
|
e0b92d203870
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
diff
changeset
|
36 </tool> |
