Skip to content

Commit

Permalink
py2cytoscape
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeboucas committed Nov 14, 2018
1 parent 86b752a commit 8a55ead
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions py2cytoscape/util/util_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ def to_dataframe(network,
row = tuple([source, itr, target] + extra_values)
network_array.append(row)

return pd.DataFrame(
network_array,
columns=['source', 'interaction', 'target'] + sorted(valid_extra_cols)
)
return pd.DataFrame( network_array, columns=['source', 'interaction', 'target'] + sorted(valid_extra_cols))


def get_node(id):
Expand Down

0 comments on commit 8a55ead

Please sign in to comment.