Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c35a809
)
PAL: Fix heatmap graph
22/34422/1
author
Tibor Frank
<tifrank@cisco.com>
Wed, 10 Nov 2021 10:58:53 +0000
(11:58 +0100)
committer
Tibor Frank
<tifrank@cisco.com>
Wed, 10 Nov 2021 11:02:12 +0000
(11:02 +0000)
Change-Id: I4992c8f4ae63aa25794cdab98532722c45263e8e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit
80e8f662317324156f9997e788f7ed2ae46401f8
)
resources/tools/presentation/generator_plots.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/generator_plots.py
b/resources/tools/presentation/generator_plots.py
index
da30caf
..
661823c
100644
(file)
--- 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: