diff --git a/src/tree.py b/src/tree.py index 8317ababe3f8ccde080d4bd22d0ae3dee568cc40..c11832b0f045c4893a51fcb81537ea70d34281f5 100644 --- a/src/tree.py +++ b/src/tree.py @@ -249,7 +249,7 @@ class TreeWalker: def ensure_node_id(self, config): flag = False if "node_id" not in config or \ - not config["node_id"].startswith(f"{self.tree}-") or \ + not config["node_id"].startswith(f"{self.name}-") or \ config["node_id"] in id_set: new_id = self.gen_node_id() id_set.add(new_id)