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
#34366
  • Loading branch information
makortel committed Apr 2, 2022
1 parent 330e636 commit fc522df
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 @@ -2297,13 +2297,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"
#repacked version
if self._options.isRepacked:
self.pythonCfgCode +="\n"
Expand Down

0 comments on commit fc522df

Please sign in to comment.