# HG changeset patch # User cavaliet # Date 1411640211 -7200 # Node ID 6a7bc9190de564de5313064938da905f9b7a1035 # Parent 8a5d0b98754143d0fc8cd46d6a682b7745201c55 correction for circle node placer diff -r 8a5d0b987541 -r 6a7bc9190de5 src/hdalab/views/profile.py --- a/src/hdalab/views/profile.py Thu Sep 25 12:10:37 2014 +0200 +++ b/src/hdalab/views/profile.py Thu Sep 25 12:16:51 2014 +0200 @@ -385,7 +385,7 @@ len_tags = len(all_tags) if period: len_tags += 1 - np.init({"tags": (1, len_tags), "datasheet": (2, len(filter_output["contents"])), "related": (3, len(related_tags)), "northwest":(1, 1)}) + np.init({"tags": (1, len_tags), "datasheet": (2, len(filter_output["contents"])), "related": (3, len(related_tags)), "northwest":(3 if shape=="circle" else 1, 1)}) for t in all_tags: img_url = t.dbpedia_fields.thumbnail if hasattr(t, 'dbpedia_fields') and t.dbpedia_fields and t.dbpedia_fields.thumbnail else None