From bd13f0d99a6415e677636fd9f01fe9ef0d4844db Mon Sep 17 00:00:00 2001 From: Tooba Ali <alit1@myumanitoba.ca> Date: Thu, 22 Dec 2022 05:09:07 +0000 Subject: [PATCH] use ${DETECTOR_CONFIG} inside config argument when calling truth_reconstruction.py in benchmarks/dis/dis.sh --- benchmarks/dis/dis.sh | 2 +- benchmarks/single/analyze.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/dis/dis.sh b/benchmarks/dis/dis.sh index 2c25719a..7b5d952b 100755 --- a/benchmarks/dis/dis.sh +++ b/benchmarks/dis/dis.sh @@ -128,7 +128,7 @@ if [[ "$?" -ne "0" ]] ; then exit 1 fi -python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${REC_FILE} --config ${PLOT_TAG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} +python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} if [[ "$?" -ne "0" ]] ; then echo "ERROR running truth_reconstruction script" exit 1 diff --git a/benchmarks/single/analyze.sh b/benchmarks/single/analyze.sh index 6271888d..681e32cc 100644 --- a/benchmarks/single/analyze.sh +++ b/benchmarks/single/analyze.sh @@ -10,7 +10,7 @@ if [[ "$?" -ne "0" ]] ; then exit 1 fi -python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${JUGGLER_REC_FILE} --config ${JUGGLER_FILE_NAME_TAG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} +python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${JUGGLER_REC_FILE} --config ${JUGGLER_FILE_NAME_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} if [[ "$?" -ne "0" ]] ; then echo "ERROR running truth_reconstruction script" exit 1 -- GitLab