Skip to content

Commit

Permalink
add backmap attribute in add_node function
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrunewald committed Aug 14, 2023
1 parent 91db5ff commit bf501a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyply/src/meta_molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def add_monomer(self, current, resname, connections):
that matches may only refer to already existing nodes.
But connections can be an empty list.
"""
self.add_node(current, resname=resname, build=True)
self.add_node(current, resname=resname, build=True, backmap=True)
for edge in connections:
if self.has_node(edge[0]) and self.has_node(edge[1]):
self.add_edge(edge[0], edge[1])
Expand Down

0 comments on commit bf501a1

Please sign in to comment.