aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-11-10 11:58:53 +0100
committerTibor Frank <tifrank@cisco.com>2021-11-10 11:58:53 +0100
commit80e8f662317324156f9997e788f7ed2ae46401f8 (patch)
tree60e045c3c9fb0860ccd12c246a7ecf11b19f1ddb
parent89eb19f67d91a4aa535fb95ece3f26381dddfc28 (diff)
PAL: Fix heatmap graph
Change-Id: I4992c8f4ae63aa25794cdab98532722c45263e8e Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/tools/presentation/generator_plots.py3
1 files changed, 1 insertions, 2 deletions
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: