From 654e178f13b431580107a8b29a1341a50d7922c4 Mon Sep 17 00:00:00 2001 From: Will Buttinger <will@cern.ch> Date: Fri, 26 Jan 2018 17:32:55 +0000 Subject: [PATCH] fix display of physicsStatus field when allowing bad status datasets to be displayed Former-commit-id: a794d9a95fc541c26345da178445ced9bd6c86a7 --- Tools/PyUtils/bin/getMetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/PyUtils/bin/getMetadata.py b/Tools/PyUtils/bin/getMetadata.py index a2daad427b5..e28288dcf0b 100755 --- a/Tools/PyUtils/bin/getMetadata.py +++ b/Tools/PyUtils/bin/getMetadata.py @@ -430,7 +430,7 @@ def main(): if int(r[u'subprocessID']) != sp: continue if str(r[u'paramName'])=="physicsStatus" and str(r[u'paramValue'])!="good": isGoodStatus=str(r[u'paramValue']) - continue + if not args.allowBadStatus: continue if str(r[u'paramName']) != param and not (param=="crossSection_pb" and str(r[u'paramName'])=="crossSection"): continue if str(r[u'physicsGroup']) not in args.physicsGroups: groupsWithVals[param] += [(str(r[u'physicsGroup']),str(r[u'paramValue']))] -- GitLab