Skip to content
Snippets Groups Projects
Commit 6189bab4 authored by John Derek Chapman's avatar John Derek Chapman
Browse files

Merge branch 'cherry-pick-fix-runTrigCI' into '21.3'

Cherry-pick from master: Fix summary ordering in runTrigCI.py

See merge request atlas/athena!31856
parents 787baf17 bd5b6e09
No related branches found
No related tags found
16 merge requests!46457Draft: Adding the tools to run over data,!46454Draft: Adding the tools to be able to run over data,!44869Draft: Update to candidate store,!4217921.9-first_steps-InDetTrackingGeometryXML,!39162Draft: Insert BCM' support,!38765Bis78 cabling,!36893Fix size of RPC active region in BIS78 and strip material,!3645821.9: Improving material map description (ATLITKSW-127),!36293WIP pixel updates,!34993KF-input adding jXERHO to the AOD outputs,!34864LH rings in front ot HR rigs,!34763Fix L1_4jJ15.0ETA25 item definition (ATR-21261),!33996WIP: Correct MM zpositions,!33148Merge 21.3.20 and 21.3.21 into 21.9,!3291021.3 salva s0,!31856Cherry-pick from master: Fix summary ordering in runTrigCI.py
......@@ -11,6 +11,8 @@ import logging
import argparse
import subprocess
import errno
from six import iteritems
from collections import OrderedDict
from TrigValTools.TrigARTUtils import find_scripts, remember_cwd
......@@ -83,7 +85,7 @@ def main():
format='========== %(levelname)-8s %(message)s',
level=logging.DEBUG if args.verbose else logging.INFO)
results = {}
results = OrderedDict()
max_name_len = 0
for script in args.scripts:
logging.debug('PROCESSING SCRIPT %s', script)
......@@ -115,7 +117,7 @@ def main():
logging.info('RESULTS SUMMARY:')
logging.info('='*(max_name_len+11))
final_code = 0
for script, result in results.iteritems():
for script, result in iteritems(results):
logging.info('| %s : %4d |', '{:{width}s}'.format(script, width=max_name_len), result)
if abs(result) > final_code:
final_code = abs(result)
......
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