Skip to content

Commit

Permalink
Remove setting of DQMStore.assertLegacySafe as unnecessary
Browse files Browse the repository at this point in the history
This parameter was set to False already in
cms-sw#34366.
  • Loading branch information
makortel committed Apr 1, 2022
1 parent ee5fe88 commit 0f636f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2286,13 +2286,6 @@ def prepare(self, doChecking = False):
if overrideConcurrentIOVs:
self.pythonCfgCode +="process.options.eventSetup.numberOfConcurrentIOVs = "+self._options.nConcurrentIOVs+"\n"
self.process.options.eventSetup.numberOfConcurrentIOVs = int(self._options.nConcurrentIOVs)
if self._options.nConcurrentLumis != "1":
# nConcurrentLumis == 0 implies that framework decides the
# value based on the number of streams, and the number of
# threads/streams can be set afterwards. The safest check
# is then to set assertLegacySafe == True only when
# explicitly asked to use 1 concurrent lumi.
self.pythonCfgCode +="if hasattr(process, 'DQMStore'): process.DQMStore.assertLegacySafe=cms.untracked.bool(False)\n"

if self._options.accelerators is not None:
accelerators = self._options.accelerators.split(',')
Expand Down

0 comments on commit 0f636f3

Please sign in to comment.