Skip to content

Commit

Permalink
Merge branch 'main' into refactor/track-edm-copy-dynamic-backends
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger authored Nov 29, 2023
2 parents e6b50de + cf14470 commit 3e024c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Examples/Scripts/generic_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ def main(
h = histograms.get(col)
values = awkward.flatten(df[col], axis=None)

if len(values) == 0:
print(f"WARNING: Branch '{col}' is empty. Skipped.")
continue

if h is None:
# try to find config
found = None
Expand Down

0 comments on commit 3e024c1

Please sign in to comment.