From ba233f102af089454d9337cd11667ced824e655b Mon Sep 17 00:00:00 2001
From: hoffmann <hoffmann@cl.uni-heidelberg.de>
Date: Thu, 22 Mar 2018 20:00:01 +0100
Subject: [PATCH] bugfixes

---
 src/absinth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/absinth.py b/src/absinth.py
index 1814716..a8fedc7 100644
--- a/src/absinth.py
+++ b/src/absinth.py
@@ -165,7 +165,7 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict):
             new_dict = dict()
             for key,value in edge_freq_dict.items():
                 if key[0] in new_dict:
-                    new_dict[key[0]].add({key[1]:value})
+                    new_dict[key[0]][key[1]] = value
                 else:
                     new_dict[key[0]] = {key[1]:value}
 
-- 
GitLab