Mercurial > repos > siwaa > redelac_stics_t
diff redelacSticsTool.bash @ 24:0e673be917e3 draft
"planemo upload for repository https://forgemia.inra.fr/redelac commit 596ce5faab821d6dcaf17fd56e002adc5be472fc"
| author | siwaa |
|---|---|
| date | Tue, 01 Sep 2026 07:35:51 +0000 |
| parents | af807768332e |
| children |
line wrap: on
line diff
--- a/redelacSticsTool.bash Wed Aug 19 14:35:50 2026 +0000 +++ b/redelacSticsTool.bash Tue Sep 01 07:35:51 2026 +0000 @@ -34,6 +34,11 @@ cat ./bashlog && echo "=================================" && cd WS && +(if [ "${19}" != "ko" ]; + then + (aws s3 cp analyse_simulations_STICS "${20}" --recursive --endpoint-url "${S3_ENDPOINT}") + else +( #/usr/bin/time -p -o ./bashlog zip ${13} -qq -r analyse_simulations_STICS analyse_simulations_STICS && /usr/bin/time -p -o ./bashlog 7z a -tzip -mx=1 -mmt=$3 analyse_simulations_STICS analyse_simulations_STICS && echo "Step 2, time to zip the results:" && @@ -42,7 +47,8 @@ echo "================================" && cp analyse_simulations_STICS.zip ${16} && rm -rf analyse_simulations_STICS && -cd .. && +cd ..) +fi) && (if [ "${14}" != "yes" ]; then (cd WS && ls | grep -e '^[0-9]*\.[0-9]*$' | xargs -i rm {}) &&
