Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Report 2005: Add data, fix sorting in comp tables
[csit.git]
/
resources
/
tools
/
presentation
/
generator_tables.py
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
eee95d6
..
29a398a
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-1662,7
+1662,6
@@
def table_comparison(table, input_data):
if comparisons:
for row in tbl_lst:
new_row = deepcopy(row)
if comparisons:
for row in tbl_lst:
new_row = deepcopy(row)
- add_to_tbl = False
for comp in comparisons:
ref_itm = row[int(comp[u"reference"])]
if ref_itm is None and \
for comp in comparisons:
ref_itm = row[int(comp[u"reference"])]
if ref_itm is None and \
@@
-1678,16
+1677,16
@@
def table_comparison(table, input_data):
ref_itm[u"mean"], cmp_itm[u"mean"],
ref_itm[u"stdev"], cmp_itm[u"stdev"]
)
ref_itm[u"mean"], cmp_itm[u"mean"],
ref_itm[u"stdev"], cmp_itm[u"stdev"]
)
- new_row.append(
- {
+ if delta is None:
+ break
+ else:
+ new_row.append({
u"mean": delta * 1e6,
u"stdev": d_stdev * 1e6
u"mean": delta * 1e6,
u"stdev": d_stdev * 1e6
- }
- )
- add_to_tbl = True
+ })
else:
else:
- new_row.append(None)
-
if add_to_tbl
:
+ break
+
else
:
tbl_cmp_lst.append(new_row)
try:
tbl_cmp_lst.append(new_row)
try: