X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=0889d2461e2209a63feb06f3502d2ad75653154a;hb=refs%2Fchanges%2F19%2F15719%2F2;hp=51b29407c3c6e1a81327ba5261f325d696ab9ae7;hpb=b6d247550a5ff8c3893fb918ea328fb0f1f9797d;p=csit.git diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 51b29407c3..0889d2461e 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -149,7 +149,11 @@ def plot_performance_box(plot, input_data): y=[y / 1000000 if y else None for y in df[col]], name=name, **plot["traces"])) - val_max = max(df[col]) + try: + val_max = max(df[col]) + except ValueError as err: + logging.error(err) + continue if val_max: y_max.append(int(val_max / 1000000) + 1)