Skip to content
Snippets Groups Projects
Commit 3a9954dd authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'amitag' into 'main'

AMITagHelperConfig: Do not write out metadata if no AMI tag present

See merge request atlas/athena!70698
parents dfb0a44c 959e78e5
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,10 @@ def AMITagCfg(flags, runArgs=None, fixBroken=False):
tags += [runArgs.AMIConfig]
log.info(f'Adding AMITag from execution: {runArgs.AMIConfig}')
if not tags:
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
return ComponentAccumulator()
valueAMITag = '_'.join(tags)
from EventInfoMgt.TagInfoMgrConfig import TagInfoMgrCfg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment