Commit e6e14f54 authored by Lucas Bourneuf's avatar Lucas Bourneuf

bugfix: mixed dots when compiled from multiple models

parent b2a30f6e
......@@ -33,8 +33,8 @@ def visual_config_from_asp(asp_models:iter, annotation_sep:str=' ') -> [VisualCo
annotation_sep -- separator between each annotation content on same node
"""
base_atoms = defaultdict(set) # predicate -> {args}
for model in asp_models.by_predicate:
base_atoms = defaultdict(set) # predicate -> {args}
viz_atoms = defaultdict(lambda: defaultdict(set)) # level -> {predicate: {args}}
for viz in model.get('viz', ()):
if len(viz) == 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment