Skip to content
Snippets Groups Projects

Set bin/get_calibrations executable

Merged Wouter Deconinck requested to merge bin-get-calibrations-permissions into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -6,4 +6,8 @@ detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmark
mkdir -p config
for i in results/emcal_barrel_calibration.json ; do
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
Loading