Skip to content

Commit

Permalink
fixed nodes dataframe indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcorusc committed Jun 24, 2024
1 parent 5ce0102 commit 046d5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neko/core/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def __init__(self,
for node in initial_nodes:
self.add_node(node)
self.drop_missing_nodes()
self.nodes.reset_index(drop=True)
self.nodes.reset_index(inplace=True, drop=True)
elif sif_file:
self.initial_nodes = []
self.load_network_from_sif(sif_file)
Expand Down

0 comments on commit 046d5bb

Please sign in to comment.