Skip to content
Snippets Groups Projects
Commit bd13f0d9 authored by Tooba Ali's avatar Tooba Ali
Browse files

use ${DETECTOR_CONFIG} inside config argument when calling...

use ${DETECTOR_CONFIG} inside config argument when calling truth_reconstruction.py in benchmarks/dis/dis.sh
parent 7cd823ba
No related branches found
No related tags found
1 merge request!193Truth reconstruction
This commit is part of merge request !193. Comments created here will be created in the context of that merge request.
...@@ -128,7 +128,7 @@ if [[ "$?" -ne "0" ]] ; then ...@@ -128,7 +128,7 @@ if [[ "$?" -ne "0" ]] ; then
exit 1 exit 1
fi 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 if [[ "$?" -ne "0" ]] ; then
echo "ERROR running truth_reconstruction script" echo "ERROR running truth_reconstruction script"
exit 1 exit 1
......
...@@ -10,7 +10,7 @@ if [[ "$?" -ne "0" ]] ; then ...@@ -10,7 +10,7 @@ if [[ "$?" -ne "0" ]] ; then
exit 1 exit 1
fi 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 if [[ "$?" -ne "0" ]] ; then
echo "ERROR running truth_reconstruction script" echo "ERROR running truth_reconstruction script"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment