From e6345a49223a1a269f12a64c87e54ffad0df2201 Mon Sep 17 00:00:00 2001 From: stdnhein <dominik.c.heinz@stud.h-da.de> Date: Sat, 22 May 2021 17:10:34 +0200 Subject: [PATCH] Removed nodes that arent in the categorization scheme --- mindmap_gen/mindmap_gen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mindmap_gen/mindmap_gen.py b/mindmap_gen/mindmap_gen.py index 16f1b1c..6f77c3e 100644 --- a/mindmap_gen/mindmap_gen.py +++ b/mindmap_gen/mindmap_gen.py @@ -61,6 +61,8 @@ class MarkdownParser: mm_str = "" mm_str += ("- " + entries[0].get_root() + "\n") for entry in entries: + if entry.get_dir() != "agility" and entry.get_dir() != "migration": + continue if entry.get_dir() == prev_dir: if entry.get_dir() == "": mm_str += (" - " + entry.get_title() + " (Refs: " + str(entry.get_refs()) + ")\n") -- GitLab