From 5172b5f541fb8943c8b4f3bcf0e1a96d29dcefdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com>
Date: Sun, 16 Oct 2022 13:20:28 +0200
Subject: [PATCH] Testing writing in onedata

---
 eas/do_sims.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eas/do_sims.sh b/eas/do_sims.sh
index 11222e5..71175e3 100755
--- a/eas/do_sims.sh
+++ b/eas/do_sims.sh
@@ -343,7 +343,7 @@ fi
 echo -e "#  INFO   : Executable file is ($corsika_bin)"
 
 # It is important to now the total time in onedata. Adding total simulation time to the project name...
-$prj = "$prj_$tim"
+$prj = "$prj_$(printf "%06d" $tim)"
 direct=$wdir/$prj
 basearti=${ARTI}
 #helium -> Usually for 1 hour flux, 4 different procces is enough
-- 
GitLab