Skip to content

Commit

Permalink
Merge pull request #767 from rmmaf/main
Browse files Browse the repository at this point in the history
Bug fix in libraries.py
  • Loading branch information
ntamas authored Mar 21, 2024
2 parents bcbefc9 + 82c162e commit 76a56f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/igraph/io/libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _export_graph_to_networkx(
eattr["_igraph_index"] = i

if multigraph and "_nx_multiedge_key" in eattr:
eattr["key"] = eattr.pop["_nx_multiedge_key"]
eattr["key"] = eattr.pop("_nx_multiedge_key")

if vertex_attr_hashable in graph.vertex_attributes():
hashable_source = graph.vs[vertex_attr_hashable][edge.source]
Expand Down

0 comments on commit 76a56f4

Please sign in to comment.