Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!71522
DCS Calculator updates for running containerized on lxplus
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
DCS Calculator updates for running containerized on lxplus
ponyisi/athena:main-dcscalc-updates
into
main
Overview
3
Commits
1
Pipelines
1
Changes
9
Merged
Peter Onyisi
requested to merge
ponyisi/athena:main-dcscalc-updates
into
main
11 months ago
Overview
3
Commits
1
Pipelines
1
Changes
9
Expand
Tweaks for lxplus (as opposed to OKD) running
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
8385baae
1 commit,
11 months ago
9 files
+
52
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
DataQuality/DCSCalculator2/python/subdetectors/sct.py
+
2
−
1
Options
@@ -103,7 +103,8 @@ class SCT(DCSC_DefectTranslate_Subdetector):
from
DQUtils
import
process_iovs
rv
=
[]
for
since
,
until
,
states
in
process_iovs
(
*
flag_iovs
.
by_channel
.
values
()):
if
any
(
state
.
Code
!=
GREEN
for
state
in
states
):
if
(
any
(
state
.
Code
!=
GREEN
for
state
in
states
)
and
not
any
(
state
.
Code
is
None
for
state
in
states
)):
# This line of code is awful!
badfrac
=
'
Bad fractions:
'
+
'
,
'
.
join
(
'
%s %.3f
'
%
(
defectmap
[
state
.
channel
],
state
.
deadFrac
)
for
state
in
sorted
(
states
,
key
=
lambda
x
:
x
.
channel
))
rv
.
append
(
DefectIOV
(
since
=
since
,
until
=
until
,
Loading