Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Merge requests
!142
Resolve "Remove get_calibrations script and use dd4hep file loader"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Remove get_calibrations script and use dd4hep file loader"
38-remove-get_calibrations-script-and-use-dd4hep-file-loader-2
into
master
Overview
0
Commits
5
Pipelines
0
Changes
3
Merged
Resolve "Remove get_calibrations script and use dd4hep file loader"
Wouter Deconinck
requested to merge
38-remove-get_calibrations-script-and-use-dd4hep-file-loader-2
into
master
Feb 24, 2022
Overview
0
Commits
5
Pipelines
0
Changes
3
Closes
#38 (closed)
Edited
Feb 24, 2022
by
Wouter Deconinck
0
0
Merge request reports
Compare
master
version 5
337d3c5b
Apr 11, 2022
version 4
5a843638
Feb 24, 2022
version 3
8e71c928
Feb 24, 2022
version 2
a742381c
Feb 24, 2022
version 1
d15d013d
Feb 24, 2022
master (base)
and
version 5
latest version
de1f114f
5 commits,
Apr 11, 2022
version 5
337d3c5b
4 commits,
Apr 11, 2022
version 4
5a843638
4 commits,
Feb 24, 2022
version 3
8e71c928
3 commits,
Feb 24, 2022
version 2
a742381c
2 commits,
Feb 24, 2022
version 1
d15d013d
1 commit,
Feb 24, 2022
3 files
+
6
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
bin/get_calibrations deleted
100755 → 0
+
0
−
18
View file @ af74331f
#!/bin/bash
branch
=
${
1
:-
master
}
detector_benchmarks
=
https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/
${
branch
}
/raw/
mkdir
-p
config
for
i
in
results/emcal_barrel_calibration.json results/material-maps.json
;
do
curl
--fail
-sL
${
detector_benchmarks
}
/
${
i
}
?job
=
deploy_results
--output
config/
$(
basename
${
i
}
)
if
[[
"
$?
"
-ne
"0"
]]
;
then
if
find
${
DETECTOR_PATH
}
-name
$(
basename
$i
)
;
then
echo
"Warning: falling back to DETECTOR_PATH for calibration
${
i
}
."
cp
$(
find
${
DETECTOR_PATH
}
-name
$(
basename
$i
))
config/
$(
basename
${
i
}
)
else
echo
"Error: could not retrieve calibrations!"
exit
1
fi
fi
done
Loading