Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
169
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
!71079
LumiCalculator+CoolRunQuery: fix flake8-bugbear warning
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
LumiCalculator+CoolRunQuery: fix flake8-bugbear warning
fwinkl/athena:fwinkl_20240502T115052
into
main
Overview
3
Commits
2
Pipelines
1
Changes
2
Merged
Frank Winklmeier
requested to merge
fwinkl/athena:fwinkl_20240502T115052
into
main
8 months ago
Overview
3
Commits
2
Pipelines
1
Changes
2
Expand
B016: Cannot raise a literal
B026: Star-arg unpacking after a keyword argument
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
e370e858
2 commits,
8 months ago
2 files
+
5
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Database/CoolRunQuery/python/AtlRunQuerySelectorWorker.py
+
2
−
3
Options
# Copyright (C) 2002-202
0
CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
#import the selectors
from
__future__
import
print_function
from
CoolRunQuery.selector.AtlRunQuerySelectorDQ
import
DQSelector
from
CoolRunQuery.selector.AtlRunQuerySelectorTrigger
import
TrigKeySelector
,
TriggerSelector
,
L1TrigKeySelector
,
HLTTrigKeySelector
,
BGSKeySelector
,
RatesSelector
# noqa: F401
from
CoolRunQuery.selector.AtlRunQuerySelectorMisc
import
BPMSelector
,
LArcondSelector
,
DatasetsSelector
,
DetectorSelector
,
FilenameSelector
,
PartitionSelector
,
ReadyForPhysicsSelector
,
DurationSelector
,
BFieldSelector
@@ -136,7 +135,7 @@ class SelectorWorker:
def
CreateSelector
(
cls
,
selname
,
doesShow
,
*
args
,
**
kwargs
):
selcls
=
SelectorWorker
.
__creationRules
[
selname
]
thecls
=
eval
(
'
%s
'
%
selcls
)
newsel
=
thecls
(
name
=
selname
,
*
args
,
**
kwargs
)
# noqa: F821
newsel
=
thecls
(
selname
,
*
args
,
**
kwargs
)
# print ("CREATING SELECTOR %s %s('%s')" % (("SHOW" if doesShow else "RETRIEVE"), selcls, selname))
s
=
cls
.
SelDescr
(
selector
=
newsel
,
priority
=
0
,
doesSelect
=
False
,
doesShow
=
True
,
executed
=
False
)
return
s
Loading