Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/rkansal47/HHbbVV
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Apr 6, 2024
2 parents cb6be4b + d83d516 commit c515f43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/HHbbVV/postprocessing/CreateDatacard.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,11 @@ def get_systematics_abcd(channels, channels_dict, channels_summed, rates_dict):
vals = []
for channel in channels:
for _, key in enumerate(all_processes):
if key == qcd_data_key or skey not in channel_systs_dict[channel][key]:
if (
key == qcd_data_key
or key not in channel_systs_dict[channel]
or skey not in channel_systs_dict[channel][key]
):
vals.append("-")
else:
val, val_down = channel_systs_dict[channel][key][skey]
Expand Down

0 comments on commit c515f43

Please sign in to comment.