Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
Peter Sherwood
athena
Commits
22e83d4c
Commit
22e83d4c
authored
7 years ago
by
scott snyder
Browse files
Options
Downloads
Patches
Plain Diff
CaloRingerAlgs: Protect against missing metadata.
Prevents crash in RecExeRecoTest ATN tests.
parent
c5635d94
Loading
Loading
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Reconstruction/RecoAlgs/CaloRingerAlgs/share/CaloRinger_jobOptions.py
+1
-1
1 addition, 1 deletion
...on/RecoAlgs/CaloRingerAlgs/share/CaloRinger_jobOptions.py
with
1 addition
and
1 deletion
Reconstruction/RecoAlgs/CaloRingerAlgs/share/CaloRinger_jobOptions.py
+
1
−
1
View file @
22e83d4c
...
...
@@ -81,7 +81,7 @@ else:
# Add metadata builder/reader
from
RecExConfig.InputFilePeeker
import
inputFileSummary
metaItemDict
=
inputFileSummary
.
get
(
'
metadata_itemsDic
'
)
if
CRAlgBuilder
.
usable
()
or
any
(
[
'
RingSetConf
'
in
key
for
key
in
metaItemDict
]
):
if
CRAlgBuilder
.
usable
()
or
(
metaItemDict
and
any
(
[
'
RingSetConf
'
in
key
for
key
in
metaItemDict
]
)
):
MetaDataBuilder
=
CaloRingerMetaDataBuilder
()
# Make sure all MetaData algoritms have the ringerOutputLevel
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment