Skip to content
Snippets Groups Projects
Commit 0b3734d0 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Set bin/get_calibrations executable

parent a3e0d731
No related branches found
No related tags found
1 merge request!178Set bin/get_calibrations executable
...@@ -6,4 +6,8 @@ detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmark ...@@ -6,4 +6,8 @@ detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmark
mkdir -p config mkdir -p config
for i in results/emcal_barrel_calibration.json ; do for i in results/emcal_barrel_calibration.json ; do
curl --fail -sL ${detector_benchmarks}/${i}?job=deploy_results --output config/$(basename ${i}) curl --fail -sL ${detector_benchmarks}/${i}?job=deploy_results --output config/$(basename ${i})
if [[ "$?" -ne "0" ]] ; then
echo "Error: could not retrieve calibrations!"
exit 1
fi
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment