diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-11-06 12:36:44 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-11-06 13:10:40 +0000 |
commit | 32bbad707629a44d17a7e9958b6ec462ba77fe49 (patch) | |
tree | e87d92faebd397a74e7b3a0428152944843aa6f5 /resources/tools/presentation/generator_plots.py | |
parent | c225c222e1554d7d3406f92a40c74269620cc885 (diff) |
CSIT-1350: Add new data to 1810 report
Change-Id: I833df1c69ee86870ac19a747ea790dcffb749bca
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r-- | resources/tools/presentation/generator_plots.py | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 0889d2461e..f406539eae 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -245,15 +245,23 @@ def plot_latency_error_bars(plot, input_data): y_sorted = OrderedDict() y_tags_l = {s: [t.lower() for t in ts] for s, ts in y_tags.items()} for tag in order: + logging.info(tag) for suite, tags in y_tags_l.items(): - if tag.lower() in tags: - try: - y_sorted[suite] = y_tmp_vals.pop(suite) - y_tags_l.pop(suite) - except KeyError as err: - logging.error("Not found: {0}".format(err)) - finally: - break + if "not " in tag: + tag = tag.split(" ")[-1] + if tag.lower() in tags: + continue + else: + if tag.lower() not in tags: + continue + try: + y_sorted[suite] = y_tmp_vals.pop(suite) + y_tags_l.pop(suite) + logging.info(suite) + except KeyError as err: + logging.error("Not found: {0}".format(err)) + finally: + break else: y_sorted = y_tmp_vals |