From e700a1b0a3a8740af38be98ca16b5ea1cac223cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com> Date: Wed, 17 Aug 2022 18:40:33 +0200 Subject: [PATCH] Minor bug corrected in do_sims, needed to be compatible with the new gamma sources functionalities under development --- analysis/do_showers.sh | 4 ++-- analysis/primaries.sh | 4 ++-- eas/do_sims.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/analysis/do_showers.sh b/analysis/do_showers.sh index 7ac56aa..944a52c 100755 --- a/analysis/do_showers.sh +++ b/analysis/do_showers.sh @@ -47,7 +47,7 @@ # VERSION="v1r9"; -arti_path="${LAGO_ARTI}" +arti_path="${ARTI}" odir="" wdir="${PWD}" dirlw=0 @@ -74,7 +74,7 @@ showhelp() { echo -e "USAGE $0:" echo echo -e " -o <origin directory> : Origin dir, where the DAT files are located" - echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$LAGO_ARTI (default)" + echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$ARTI (default)" echo -e " -w <working directory> : Working dir, where the analysis will be done (default is current directory, ${wdir})" echo -e " -e <energy bins> : Number of energy secondary bins (default: $energy_bins)" echo -e " -d <distance bins> : Number of distance secondary bins (default: $distance_bins)" diff --git a/analysis/primaries.sh b/analysis/primaries.sh index a6b82d9..14537c6 100755 --- a/analysis/primaries.sh +++ b/analysis/primaries.sh @@ -48,7 +48,7 @@ VERSION="v1r9"; wdir=${PWD} -arti_path=${LAGO_ARTI} +arti_path=${ARTI} prj="" prims=10 @@ -59,7 +59,7 @@ showhelp() { echo -e "USAGE $0:" echo echo -e " -w <working directory> : Working directory, where the pri.bz2 iles are located" - echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$LAGO_ARTI (default)" + echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$ARTI (default)" echo -e " -m <bins per decade> : Produce files with the energy distribution of the primary flux per nuclei. Not compatible with parallel" echo -e " -? : Shows this help and exit." echo diff --git a/eas/do_sims.sh b/eas/do_sims.sh index 4eeca2e..d487318 100755 --- a/eas/do_sims.sh +++ b/eas/do_sims.sh @@ -333,7 +333,7 @@ echo -e "# INFO : Executable file is ($corsika_bin)" direct=$wdir/$prj -basearti=${LAGO_ARTI} +basearti=${ARTI} #helium -> Usually for 1 hour flux, 4 different procces is enough prcHe=$procs -- GitLab