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

results_path in benchmarks/dis/dis.sh

parent d33b870e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment