From 80e8f662317324156f9997e788f7ed2ae46401f8 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 10 Nov 2021 11:58:53 +0100 Subject: PAL: Fix heatmap graph Change-Id: I4992c8f4ae63aa25794cdab98532722c45263e8e Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_plots.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'resources') diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index da30cafe67..661823cac1 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -1522,8 +1522,6 @@ def plot_nf_heatmap(plot, input_data): regex_test_name = re.compile(r'^.*-(\d+ch|\d+pl)-' r'(\d+mif|\d+vh)-' r'(\d+vm\d+t|\d+dcr\d+t|\d+dcr\d+c).*$') - vals = dict() - # Transform the data logging.info( f" Creating the data set for the {plot.get(u'type', u'')} " @@ -1540,6 +1538,7 @@ def plot_nf_heatmap(plot, input_data): for ttype in plot.get(u"test-type", (u"ndr", u"pdr")): for core in plot.get(u"core", tuple()): + vals = dict() for item in plot.get(u"include", tuple()): reg_ex = re.compile(str(item.format(core=core)).lower()) for job in in_data: -- cgit 1.2.3-korg