diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-10-31 17:25:47 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-10-31 17:25:47 +0100 |
commit | 0d53d645a6d78b581e7ad1e257af4f943a52f465 (patch) | |
tree | 16d911035dffbff20caabc9e74a081ab08f3c95f /resources/tools/presentation/generator_tables.py | |
parent | 45790e85151194fdea40530a31d5181bb4b21e85 (diff) |
Report: data
Change-Id: I182250716776f31328e4c33e53166a19b6f9ce73
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index e66047f9bc..379205cbea 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -229,19 +229,19 @@ def table_performance_improvements(table, input_data): for item in tbl_lst: if "ndr_top" in file_name \ and "ndr" in item[1]["data"] \ - and item[-1]["data"] >= 10.0: + and round(item[-1]["data"], 1) >= 10.0: _write_line_to_file(file_handler, item) elif "pdr_top" in file_name \ and "pdr" in item[1]["data"] \ - and item[-1]["data"] >= 10.0: + and round(item[-1]["data"], 1) >= 10.0: _write_line_to_file(file_handler, item) elif "ndr_low" in file_name \ and "ndr" in item[1]["data"] \ - and item[-1]["data"] < 10.0: + and round(item[-1]["data"], 1) < 10.0: _write_line_to_file(file_handler, item) elif "pdr_low" in file_name \ and "pdr" in item[1]["data"] \ - and item[-1]["data"] < 10.0: + and round(item[-1]["data"], 1) < 10.0: _write_line_to_file(file_handler, item) logging.info(" Done.") |