Skip to content
Snippets Groups Projects
Commit 5510ba78 authored by Federico Stagni's avatar Federico Stagni
Browse files

fix for histomerge production type

parent def6f5b1
No related branches found
No related tags found
No related merge requests found
......@@ -463,10 +463,12 @@ class ModuleBase( object ):
histogram = False
if self.jobType.lower() == 'merge' and len(stepOutTypes) == 1 and stepOutTypes[0] in [hts.lower() for hts in histoTypes] + ['root']:
# first here treating the special case of root/histo/ntuple merging jobs
# first here treating the special case of root/histo/ntuple merging jobs
if self.jobType.lower() in ('merge', 'histomerge') \
and len(stepOutTypes) == 1 \
and stepOutTypes[0] in [hts.lower() for hts in histoTypes] + ['root']:
pass
else:
else: # This is not a histogram merging production, so we remove the histograms from the step outputs
for hist in histoTypes:
try:
stepOutTypes.remove( hist )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment