Skip to content

Commit

Permalink
Fix edge labels. [ref #193]
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Apr 28, 2021
1 parent c856065 commit 2b38c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/BioSimSpace/Align/_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def generateNetwork(molecules, names=None, work_dir=None, plot_network=False,
for edge in edges:
graph.add_edge(names[edge[0]],
names[edge[1]],
label=edge_dict[(names[node0], names[node1])])
label=(edge_dict[(names[edge[0]], names[edge[1]])]))

except Exception as e:
msg = "Unable to generate network representation!"
Expand Down

0 comments on commit 2b38c54

Please sign in to comment.