Skip to content

Commit

Permalink
Removed dict for wantSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
NiharSaha committed Dec 13, 2021
1 parent 38699f3 commit aa7cd03
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
5 changes: 2 additions & 3 deletions Validation/Performance/python/TimeMemoryG4Info.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ def customise(process):
if hasattr(process,'options'):
process.options.wantSummary = cms.untracked.bool(True)
else:
process.options = dict(
wantSummary = True
)
process.options.wantSummary = True


return(process)
5 changes: 2 additions & 3 deletions Validation/Performance/python/TimeMemoryInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ def customise(process):
if hasattr(process,'options'):
process.options.wantSummary = cms.untracked.bool(True)
else:
process.options = dict(
wantSummary = True
)
process.options.wantSummary = True


return(process)
5 changes: 2 additions & 3 deletions Validation/Performance/python/TimeMemoryJobReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ def customiseWithTimeMemoryJobReport(process):
if hasattr(process,"options"):
process.options.wantSummary = cms.untracked.bool(False)
else:
process.options = dict(
wantSummary = False
)
process.options.wantSummary = False


#Silence the final Timing service report
process.MessageLogger.cerr.TimeReport = dict(limit = 0)
Expand Down
5 changes: 2 additions & 3 deletions Validation/Performance/python/TimeMemorySummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ def customise(process):
if hasattr(process,"options"):
process.options.wantSummary = cms.untracked.bool(True)
else:
process.options = dict(
wantSummary = True
)
process.options.wantSummary = True


return(process)

Expand Down

0 comments on commit aa7cd03

Please sign in to comment.