diff --git a/benchmarks/dis/analysis/truth_reconstruction.py b/benchmarks/dis/analysis/truth_reconstruction.py index 356401ce7e532eb228f4daeb745657a57adfddcd..2c96313cd3da559e35b5b271510dd901da36246c 100644 --- a/benchmarks/dis/analysis/truth_reconstruction.py +++ b/benchmarks/dis/analysis/truth_reconstruction.py @@ -11,7 +11,7 @@ parser = argparse.ArgumentParser() parser.add_argument('--rec_file', type=str, help='Reconstructed track file.') parser.add_argument('--config', type=str, help='Momentum configuration.') parser.add_argument('--nevents', type=float, help='Number of events to process.') -parser.add_argument('--result_path', type=str, help='Output directory.') +parser.add_argument('--results_path', type=str, help='Output directory.') args = parser.parse_args() kwargs = vars(args) diff --git a/benchmarks/dis/dis.sh b/benchmarks/dis/dis.sh index e3af02d738701b5562d5b2da789c1a25350f7c0b..c3e72b0926eb03bd103a4ff04ae4963ea3f0ad44 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 ${CONFIG} --result_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} +python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${REC_FILE} --config ${CONFIG} --results_path "results/${BENCHMARK_TAG}/${BEAM_TAG}/minQ2=${MINQ2}" --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 5ca495afdb96f00c96a2cdfa927b9c9da25bfc2e..6271888dfc00173af9d9bdf661041970d6415e7e 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} --result_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} +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} if [[ "$?" -ne "0" ]] ; then echo "ERROR running truth_reconstruction script" exit 1