Mercurial > repos > siwaa > sunflo
comparison tool_SUNFLO.xml @ 1:935e06766216 draft
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/3a14800d8c700f5acdf49d564adc9fe820aa1c25 commit 3a14800d8c700f5acdf49d564adc9fe820aa1c25-dirty"
| author | siwaa |
|---|---|
| date | Thu, 25 Aug 2022 10:49:25 +0000 |
| parents | 53d753cb6b81 |
| children | a08cdfcedd4c |
comparison
equal
deleted
inserted
replaced
| 0:53d753cb6b81 | 1:935e06766216 |
|---|---|
| 1 <tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.0.0"> | 1 <tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.0.0"> |
| 2 <description></description> | 2 <description></description> |
| 3 <requirements> | 3 <requirements> |
| 4 <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:187cf18876225903f7ab06915374a0277ad83130</container> | 4 <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:ub2004_vle21</container> |
| 5 </requirements> | 5 </requirements> |
| 6 <command detect_errors="aggressive"> | 6 <command detect_errors="aggressive"> |
| 7 unzip ${input_meteo}; | 7 unzip ${input_meteo}; |
| 8 /bin/bash -c "Rscript --verbose /data/RECORD/misc/docker/rAzodynSunflo.R sunflo_web.vpz sunflo ${file_input} ${file_outputs} \${GALAXY_SLOTS:-2}"; | 8 /bin/bash -c "Rscript --verbose /data/rAzodynSunflo.R sunflo_web.vpz sunflo ${file_input} ${file_outputs} \${GALAXY_SLOTS:-2}"; |
| 9 zip temp_results.zip simresults_*.txt; | 9 zip temp_results.zip simresults_*.txt; |
| 10 cp temp_results.zip ${simresults}; | 10 cp temp_results.zip ${simresults}; |
| 11 </command> | 11 </command> |
| 12 <inputs> | 12 <inputs> |
| 13 <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/> | 13 <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/> |
| 15 <param name="file_outputs" type="data" format="csv" label="Outputs to simulate"/> | 15 <param name="file_outputs" type="data" format="csv" label="Outputs to simulate"/> |
| 16 </inputs> | 16 </inputs> |
| 17 <outputs> | 17 <outputs> |
| 18 <data format="zip" name="simresults" /> | 18 <data format="zip" name="simresults" /> |
| 19 </outputs> | 19 </outputs> |
| 20 <tests> | |
| 21 <test> | |
| 22 <param name="input_meteo" value="inputs/sunflo_meteo.zip" ftype="zip" /> | |
| 23 <param name="file_input" value="inputs/sunflo_input.csv" ftype="csv" /> | |
| 24 <param name="file_outputs" value="inputs/sunflo_output.csv" ftype="csv" /> | |
| 25 <output name="simresults"> | |
| 26 <assert_contents> | |
| 27 <has_archive_member path="simresults_LAI.txt"> | |
| 28 <has_text text="0;0;0;0" /> | |
| 29 <has_text text="0.007252155941" /> | |
| 30 </has_archive_member> | |
| 31 <has_archive_member path="simresults_RDT.txt"> | |
| 32 <has_text text="29.639416530" /> | |
| 33 <has_text text="29.411414411" /> | |
| 34 </has_archive_member> | |
| 35 </assert_contents> | |
| 36 </output> | |
| 37 </test> | |
| 38 </tests> | |
| 39 | |
| 20 <help><