Commit 9e28b1f7 authored by eric pellegrini's avatar eric pellegrini
Browse files

Bug fix in AtomSelectionConfigurator

parent 9a91a385
......@@ -89,10 +89,10 @@ class AtomSelectionConfigurator(IConfigurator):
if UD_STORE.has_definition(trajConfig["basename"],"atom_selection",v):
ud = UD_STORE.get_definition(trajConfig["basename"],"atom_selection",v)
self["indexes"].append(ud["indexes"])
self["indexes"].extend(ud["indexes"])
else:
parser = AtomSelectionParser(trajConfig["instance"].universe)
self["indexes"].append(parser.parse(v))
self["indexes"].extend(parser.parse(v))
self["indexes"].sort()
......
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