Skip to content
Snippets Groups Projects

Simple, perhaps tmp fix for #39

Merged Davide Gerbaudo requested to merge merge_regions_fix_1 into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -82,6 +82,7 @@ def main():
for hn in histonames:
master_histo = input_file.Get(hn)
other_histos = [input_file.Get(hn.replace(master_region, r)) for r in other_regions]
master_histo.SetName(master_histo.GetName().replace(master_region, target_region))
master_histo.SetDirectory(output_file)
for h in other_histos:
master_histo.Add(h)
Loading