Mercurial > repos > siwaa > sunflo
comparison tool_SUNFLO.xml @ 3:eec09c643933 draft
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/e3ed8beeb31a8c8b7e90d80ae3267feb06fc3c90 commit e3ed8beeb31a8c8b7e90d80ae3267feb06fc3c90-dirty"
| author | siwaa |
|---|---|
| date | Tue, 27 Sep 2022 07:54:08 +0000 |
| parents | a08cdfcedd4c |
| children | 64b9de83b8e6 |
comparison
equal
deleted
inserted
replaced
| 2:a08cdfcedd4c | 3:eec09c643933 |
|---|---|
| 1 <tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.1.0"> | 1 <tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.2.0"> |
| 2 <description></description> | 2 <description></description> |
| 3 <requirements> | 3 <requirements> |
| 4 <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:image-azodynsunflo-1.1</container> | 4 <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:image-azodynsunflo-1.2</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/rAzodynSunflo.R sunflo_web.vpz sunflo ${file_input} ${file_outputs} \${GALAXY_SLOTS:-2}"; | 8 dos2unix -n ${file_input} internal_inputSUNFLO.csv; |
| 9 dos2unix -n ${file_outputs} internal_outputSUNFLO.csv; | |
| 10 /bin/bash -c "Rscript --verbose /data/rAzodynSunflo.R sunflo_simple.vpz sunflo internal_inputSUNFLO.csv internal_outputSUNFLO.csv \${GALAXY_SLOTS:-2}"; | |
| 9 zip temp_results.zip simresults_*.txt; | 11 zip temp_results.zip simresults_*.txt; |
| 10 cp temp_results.zip ${simresults}; | 12 cp temp_results.zip ${simresults}; |
| 11 </command> | 13 </command> |
| 12 <inputs> | 14 <inputs> |
| 13 <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/> | 15 <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/> |
| 24 <param name="file_outputs" value="inputs/sunflo_output.csv" ftype="csv" /> | 26 <param name="file_outputs" value="inputs/sunflo_output.csv" ftype="csv" /> |
| 25 <output name="simresults"> | 27 <output name="simresults"> |
| 26 <assert_contents> | 28 <assert_contents> |
| 27 <has_archive_member path="simresults_LAI.txt"> | 29 <has_archive_member path="simresults_LAI.txt"> |
| 28 <has_text text="0;0;0;0" /> | 30 <has_text text="0;0;0;0" /> |
| 29 <has_text text="0.007252155941" /> | 31 <has_text text="0.007303977383" /> |
| 30 </has_archive_member> | 32 </has_archive_member> |
| 31 <has_archive_member path="simresults_RDT.txt"> | 33 <has_archive_member path="simresults_RDT.txt"> |
| 32 <has_text text="29.639416530" /> | 34 <has_text text="25.004733605" /> |
| 33 <has_text text="29.411414411" /> | 35 <has_text text="25.084471273" /> |
| 34 </has_archive_member> | 36 </has_archive_member> |
| 35 </assert_contents> | 37 </assert_contents> |
| 36 </output> | 38 </output> |
| 37 </test> | 39 </test> |
| 38 </tests> | 40 </tests> |
