From 232fe14328dc99d423cc83149451620e70366c07 Mon Sep 17 00:00:00 2001 From: Winston Grenier Date: Fri, 12 Aug 2022 15:26:50 -0400 Subject: [PATCH] Fix visit_orr error: name 'output' not defined --- daidepp/parser/node_visitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daidepp/parser/node_visitor.py b/daidepp/parser/node_visitor.py index 57e2c8d..fa403c6 100644 --- a/daidepp/parser/node_visitor.py +++ b/daidepp/parser/node_visitor.py @@ -194,7 +194,7 @@ def visit_orr(self, node, visited_children): for par_arr in par_arrangements: _, arr, _ = par_arr print("arr", arr) - output["ORR"].append(arr) + arr_list.append(arr) return ("ORR", arr_list)