Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[94X] bypassVersionCheck should not apply to DQMRootSource #26148

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions Configuration/DataProcessing/python/Merge.py
Expand Up @@ -27,6 +27,7 @@ def mergeProcess(*inputFiles, **options):
- newDQMIO : specifies if the new DQM format should be used to merge the files
- output_file : sets the output file name
- output_lfn : sets the output LFN
- mergeNANO : to merge NanoAOD
- bypassVersionCheck : to bypass version check in case merging happened in lower version of CMSSW (i.e. UL HLT case). This will be TRUE by default.

"""
Expand Down Expand Up @@ -54,6 +55,7 @@ def mergeProcess(*inputFiles, **options):
process.add_(Service("DQMStore"))
else:
process.source = Source("PoolSource")
process.source.bypassVersionCheck = CfgTypes.untracked.bool(bypassVersionCheck)
if dropDQM:
process.source.inputCommands = CfgTypes.untracked.vstring('keep *','drop *_EDMtoMEConverter_*_*')
process.source.fileNames = CfgTypes.untracked(CfgTypes.vstring())
Expand All @@ -71,9 +73,6 @@ def mergeProcess(*inputFiles, **options):
else:
outMod = OutputModule("PoolOutputModule")

# To bypass the version check in the merge process (TRUE by default)
process.source.bypassVersionCheck = CfgTypes.untracked.bool(bypassVersionCheck)

outMod.fileName = CfgTypes.untracked.string(outputFilename)
if outputLFN != None:
outMod.logicalFileName = CfgTypes.untracked.string(outputLFN)
Expand Down