From 08fb19c6b9491a190104cd20b3aa18633a7c334c Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Fri, 11 Feb 2022 14:07:51 +0100 Subject: [PATCH] Fixed Bug (getting images for analyze-center) --- caliGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caliGraph.py b/caliGraph.py index 5317418..ccd4bff 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -788,7 +788,7 @@ def genScores(G, books, calcPagerank=True): return globMu, globStd def addImageToNode(node, cache, shape='circularImage'): - name = node['label'].split(' (')[0] + name = node['label'].split(' (')[0].replace('*','') if not name in cache or (cache[name]==False and random.random()<0.05): term = name img = getWikiImage(term)