diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-08-23 09:01:16 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-08-23 09:01:16 +0200 |
commit | d77fd604356d3163d3f60155ba9b248681f49dfa (patch) | |
tree | 7afa968787df4a74c63ee7097f64897a7de74467 /resources/tools/dash/app | |
parent | 50553186120f97a4ac418e2226dbdf1ace436df1 (diff) |
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 <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app')
-rw-r--r-- | resources/tools/dash/app/pal/news/layout.py | 4 |
1 files changed, 1 insertions, 3 deletions
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) |