Mercurial > repos > siwaa > redelac_stics_t
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 23:3b44cb0a1e76 | 24:0e673be917e3 |
|---|---|
| 32 echo "Step 1, time to run the R script:" && | 32 echo "Step 1, time to run the R script:" && |
| 33 echo "=================================" && | 33 echo "=================================" && |
| 34 cat ./bashlog && | 34 cat ./bashlog && |
| 35 echo "=================================" && | 35 echo "=================================" && |
| 36 cd WS && | 36 cd WS && |
| 37 (if [ "${19}" != "ko" ]; | |
| 38 then | |
| 39 (aws s3 cp analyse_simulations_STICS "${20}" --recursive --endpoint-url "${S3_ENDPOINT}") | |
| 40 else | |
| 41 ( | |
| 37 #/usr/bin/time -p -o ./bashlog zip ${13} -qq -r analyse_simulations_STICS analyse_simulations_STICS && | 42 #/usr/bin/time -p -o ./bashlog zip ${13} -qq -r analyse_simulations_STICS analyse_simulations_STICS && |
| 38 /usr/bin/time -p -o ./bashlog 7z a -tzip -mx=1 -mmt=$3 analyse_simulations_STICS analyse_simulations_STICS && | 43 /usr/bin/time -p -o ./bashlog 7z a -tzip -mx=1 -mmt=$3 analyse_simulations_STICS analyse_simulations_STICS && |
| 39 echo "Step 2, time to zip the results:" && | 44 echo "Step 2, time to zip the results:" && |
| 40 echo "================================" && | 45 echo "================================" && |
| 41 cat ./bashlog && | 46 cat ./bashlog && |
| 42 echo "================================" && | 47 echo "================================" && |
| 43 cp analyse_simulations_STICS.zip ${16} && | 48 cp analyse_simulations_STICS.zip ${16} && |
| 44 rm -rf analyse_simulations_STICS && | 49 rm -rf analyse_simulations_STICS && |
| 45 cd .. && | 50 cd ..) |
| 51 fi) && | |
| 46 (if [ "${14}" != "yes" ]; | 52 (if [ "${14}" != "yes" ]; |
| 47 then | 53 then |
| 48 (cd WS && ls | grep -e '^[0-9]*\.[0-9]*$' | xargs -i rm {}) && | 54 (cd WS && ls | grep -e '^[0-9]*\.[0-9]*$' | xargs -i rm {}) && |
| 49 mv WS $WSname && | 55 mv WS $WSname && |
| 50 /usr/bin/time -p -o ./bashlog zip ${13} -y -q -r $WSname $WSname && | 56 /usr/bin/time -p -o ./bashlog zip ${13} -y -q -r $WSname $WSname && |
