From d77fd604356d3163d3f60155ba9b248681f49dfa Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 23 Aug 2022 09:01:16 +0200 Subject: fix(uti): News: build number processing - The build number is a string, but it was processed as an integer. Change-Id: Ia85018acc8da87fe8c72f0ecf80063911d022ba4 Signed-off-by: Tibor Frank --- resources/tools/dash/app/pal/news/layout.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'resources/tools/dash/app/pal') diff --git a/resources/tools/dash/app/pal/news/layout.py b/resources/tools/dash/app/pal/news/layout.py index 6e598315e5..b9d5c41213 100644 --- a/resources/tools/dash/app/pal/news/layout.py +++ b/resources/tools/dash/app/pal/news/layout.py @@ -118,12 +118,10 @@ class Layout: "regressions": list(), "progressions": list() } - logging.debug("Processing jobs ...") for job in self._jobs: - logging.debug(f"+ {job}") # Create lists of failed tests: df_job = df_tst_info.loc[(df_tst_info["job"] == job)] - last_build = max(df_job["build"].unique()) + last_build = str(max(pd.to_numeric(df_job["build"].unique()))) df_build = df_job.loc[(df_job["build"] == last_build)] tst_info["job"].append(job) tst_info["build"].append(last_build) -- cgit 1.2.3-korg