Mercurial > repos > siwaa > redelac_stics_g
comparison redelacSticsInputGenerator.xml @ 13:3db1f57029a7 draft
"planemo upload for repository https://forgemia.inra.fr/redelac commit 4a2264991516b494ed11d1a7d5260ba543696a04"
author | siwaa |
---|---|
date | Fri, 27 Oct 2023 09:17:06 +0000 |
parents | 9f398c5117d2 |
children | 812bb8097dac |
comparison
equal
deleted
inserted
replaced
12:9f398c5117d2 | 13:3db1f57029a7 |
---|---|
1 <tool id="redelacSticsInputGenerator" name="redelacSticsInputGenerator" version="1.0.6"> | 1 <tool id="redelacSticsInputGenerator" name="redelacSticsInputGenerator" version="1.0.7"> |
2 <description>to run generate Stics Inputs for REDELAC</description> | 2 <description>to run generate Stics Inputs for REDELAC</description> |
3 <requirements> | 3 <requirements> |
4 <container type="singularity">docker://registry.forgemia.inra.fr/redelac/redelac-toolbox/sticsrpacks:b0f76897e1ece4a91ecfc71617fec5ebd04e2bd4</container> | 4 <container type="singularity">docker://registry.forgemia.inra.fr/redelac/redelac-toolbox/sticsrpacks:0faa63e7838a2b86369026bf2e628842d7af9863</container> |
5 </requirements> | 5 </requirements> |
6 <command detect_errors="aggressive"> | 6 <command detect_errors="aggressive"> |
7 <![CDATA[ | 7 <![CDATA[ |
8 #if $additional: | 8 #if $additional: |
9 additional=${additional} && | 9 additional=${additional} && |
13 #if str( $IterUsmX.IterUsmX ) == 'usmx_one_after_other': | 13 #if str( $IterUsmX.IterUsmX ) == 'usmx_one_after_other': |
14 parallel=${$IterUsmX.parallel} && | 14 parallel=${$IterUsmX.parallel} && |
15 #else | 15 #else |
16 parallel=parallel && | 16 parallel=parallel && |
17 #end if | 17 #end if |
18 bash $__tool_directory__/redelacSticsInputGenerator.bash ${IterUsmX.IterUsmX} \${parallel} \${GALAXY_SLOTS:-4} $__tool_directory__ ${Workspace} ${Climat} ${USMs} ${Tec} ${Ini} ${Station} \${additional} ${GeneratedWorkspace} | 18 bash $__tool_directory__/redelacSticsInputGenerator.bash ${IterUsmX.IterUsmX} \${parallel} \${GALAXY_SLOTS:-4} $__tool_directory__ ${Workspace} ${Climat} ${USMs} ${Tec} ${Ini} ${Station} \${additional} ${GeneratedWorkspace} ${compress} |
19 ]]> | 19 ]]> |
20 </command> | 20 </command> |
21 <inputs> | 21 <inputs> |
22 <param name="Workspace" type="data" format="zip" label="Select a stics Workspace (zip file)"/> | 22 <param name="Workspace" type="data" format="zip" label="Select a stics Workspace (zip file)"/> |
23 <param name="Climat" type="data" format="zip" label="Select a climat scenario (zip file)"/> | 23 <param name="Climat" type="data" format="zip" label="Select a climat scenario (zip file)"/> |
32 <param name="parallel" type="boolean" checked="true" truevalue="parallel" falsevalue="sequential"/> | 32 <param name="parallel" type="boolean" checked="true" truevalue="parallel" falsevalue="sequential"/> |
33 </when> | 33 </when> |
34 <when value="usmx_at_once"> | 34 <when value="usmx_at_once"> |
35 </when> | 35 </when> |
36 </conditional> | 36 </conditional> |
37 <param name="compress" type="boolean" checked="true" truevalue="-6" falsevalue="-0"/> | |
37 </inputs> | 38 </inputs> |
38 <outputs> | 39 <outputs> |
39 <data format="zip" name="GeneratedWorkspace" | 40 <data format="zip" name="GeneratedWorkspace" |
40 label="GeneratedWorkspace$"> | 41 label="GeneratedWorkspace$"> |
41 </data> | 42 </data> |
125 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2004-PP" /> | 126 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2004-PP" /> |
126 </has_archive_member> | 127 </has_archive_member> |
127 </assert_contents> | 128 </assert_contents> |
128 </output> | 129 </output> |
129 </test> | 130 </test> |
131 <test> | |
132 <param name="compress" value="false" ftype="boolean" /> | |
133 <param name="parallel" value="true" ftype="boolean" /> | |
134 <param name="Workspace" value="input/sticsBaseWs.zip" ftype="zip" /> | |
135 <param name="Climat" value="input/flatMeteo.zip" ftype="zip" /> | |
136 <param name="USMs" value="input/USMsSheet.csv" ftype="csv" /> | |
137 <param name="Tec" value="input/TecSheet.csv" ftype="csv" /> | |
138 <param name="Ini" value="input/IniSheet.csv" ftype="csv"/> | |
139 <param name="Station" value="input/StationsSheet.csv" ftype="csv"/> | |
140 <output name="GeneratedWorkspace" ftype="zip" > | |
141 <assert_contents> | |
142 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-NA-1973-PP\/new_travail.usm"> | |
143 <has_text text="806_1893-637_NPP1-8-2-PP-NA-1973-PP" /> | |
144 </has_archive_member> | |
145 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-NA-1974-PP\/new_travail.usm"> | |
146 <has_text text="806_1893-637_NPP1-8-2-PP-NA-1974-PP" /> | |
147 </has_archive_member> | |
148 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-NA-1975-PP\/new_travail.usm"> | |
149 <has_text text="806_1893-637_NPP1-8-2-PP-NA-1975-PP" /> | |
150 </has_archive_member> | |
151 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-1976-PP\/new_travail.usm"> | |
152 <has_text text="806_1893-637_NPP1-8-2-PP-ref-1976-PP" /> | |
153 </has_archive_member> | |
154 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-1977-PP\/new_travail.usm"> | |
155 <has_text text="806_1893-637_NPP1-8-2-PP-ref-1977-PP" /> | |
156 </has_archive_member> | |
157 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-2000-PP\/new_travail.usm"> | |
158 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2000-PP" /> | |
159 </has_archive_member> | |
160 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-2001-PP\/new_travail.usm"> | |
161 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2001-PP" /> | |
162 </has_archive_member> | |
163 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-2002-PP\/new_travail.usm"> | |
164 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2002-PP" /> | |
165 </has_archive_member> | |
166 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-2003-PP\/new_travail.usm"> | |
167 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2003-PP" /> | |
168 </has_archive_member> | |
169 <has_archive_member path="rot8_2\/txt_files\/806_1893-637_NPP1-8-2-PP-ref-2004-PP\/new_travail.usm"> | |
170 <has_text text="806_1893-637_NPP1-8-2-PP-ref-2004-PP" /> | |
171 </has_archive_member> | |
172 </assert_contents> | |
173 </output> | |
174 </test> | |
130 </tests> | 175 </tests> |
131 <help> | 176 <help> |
132 *The usage of this tool is restricted to the user of the stics_authorized group.* | 177 *The usage of this tool is restricted to the user of the stics_authorized group.* |
133 | 178 |
134 *To be granted, apply to the Project Stics Team and then request to SIWAA* | 179 *To be granted, apply to the Project Stics Team and then request to SIWAA* |