From 62edac89f1161052ee606e089efabee9f2eab33a Mon Sep 17 00:00:00 2001 From: aleixpuig <94959119+aleixpuigb@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:42:52 +0000 Subject: [PATCH 1/2] Fix spelling for blood vasculature in mkdocs Fix spelling for blood vasculature in mkdocs --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index bb2f8b24b..aaa3bf948 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,7 +19,7 @@ nav: - General report: Blood/README.md - ASCT+B as Graph: Blood/graph.md - Report changes: Blood/comments.md - - Blood Vascularure: + - Blood Vasculature: - General report: Blood_vasculature/README.md - ASCT+B as Graph: Blood_vasculature/graph.md - Report changes: Blood_vasculature/comments.md From 141b185ba4897342c1c312ef38257489cb4c9255 Mon Sep 17 00:00:00 2001 From: aleixpuig <94959119+aleixpuigb@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:15:13 +0000 Subject: [PATCH 2/2] Fixes duplicated rows in different labels --- src/readme_reports_generation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/readme_reports_generation.py b/src/readme_reports_generation.py index d836cd48c..650d710ea 100644 --- a/src/readme_reports_generation.py +++ b/src/readme_reports_generation.py @@ -151,7 +151,8 @@ def compact_issues(items: list, element: str): compacted_items[key]["rows"] = [item["row_number"]] compacted_items[key].pop("row_number") else: - compacted_items[key]["rows"].append(item["row_number"]) + if item["row_number"] not in compacted_items[key]["rows"]: + compacted_items[key]["rows"].append(item["row_number"]) return list(compacted_items.values())