X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=39b6f9bea49e48cbf3f1e3813762ffc0239f50b5;hp=1bfbda1a1bf8fb597e26c82650a07bc4952c2d27;hb=ed54e298a1b7796e37c1d1f4e0642595177949bd;hpb=093e1a0bfa7257048e6d12fe9fc9fbf1a9f98e49 diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 1bfbda1a1b..39b6f9bea4 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -91,7 +91,7 @@ def generate_plots(spec, data): for index, plot in enumerate(spec.plots): try: logging.info(f" Plot nr {index + 1}: {plot.get(u'title', u'')}") - plot[u"limits"] = spec.configuration[u"limits"] + plot[u"limits"] = spec.environment[u"limits"] generator[plot[u"algorithm"]](plot, data) logging.info(u" Done.") except NameError as err: @@ -1046,6 +1046,8 @@ def plot_tsa_name(plot, input_data): limit = plot[u"limits"][u"nic"][u"x553"] elif u"cx556a" in test_name: limit = plot[u"limits"][u"nic"][u"cx556a"] + elif u"e810cq" in test_name: + limit = plot[u"limits"][u"nic"][u"e810cq"] else: limit = 0 if limit > nic_limit: