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)