diff --git a/Tools/PyUtils/bin/getMetadata.py b/Tools/PyUtils/bin/getMetadata.py index a2daad427b5e6cab401ab52cb20683a537842063..e28288dcf0b857c284a31266eb56501e476a346a 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']))]