You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling get_networkx_graph_as_dataframe_of_edges on the augmented forest generated a data frame that has node names only for the edges that are in the optimal forest solution. For instance:
protein1 protein2 cost in_solution
A C 0.1 True
C D 0.1 True
10.0
The last row is for the edge A-D.
This happens because the forest graph has protein1 and protein2 as edge attributes. These are also the keys used when exporting the graph to a dataframe, and the edge attributes overwrite the initial key-value pairs for each edge.
I believe I have a fix that I will push to my fork. I can submit a pull request here if you would like.
The text was updated successfully, but these errors were encountered:
Calling
get_networkx_graph_as_dataframe_of_edges
on the augmented forest generated a data frame that has node names only for the edges that are in the optimal forest solution. For instance:The last row is for the edge
A-D
.This happens because the forest graph has
protein1
andprotein2
as edge attributes. These are also the keys used when exporting the graph to a dataframe, and the edge attributes overwrite the initial key-value pairs for each edge.I believe I have a fix that I will push to my fork. I can submit a pull request here if you would like.
The text was updated successfully, but these errors were encountered: