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:02:12 +0000
commit8e9cbe59c775669f20edf0578146c63e759ef29d (patch)
tree323b5cc12275ea5a8860f25a0b3607ad1433bb06
parentc35a8095e71e15c67ced35765653825557028348 (diff)
PAL: Fix heatmap graph
Change-Id: I4992c8f4ae63aa25794cdab98532722c45263e8e Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 80e8f662317324156f9997e788f7ed2ae46401f8)
-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: