Skip to content

Commit

Permalink
DEBUG: Properly update _greatest_backbone_count (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobutoba authored Oct 29, 2023
1 parent f9be813 commit 7ff3562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grandiso/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def get_next_backbone_candidates(
# set it as the next node to explore:
if motif_backbone_connections_count > _greatest_backbone_count:
_nodes_with_greatest_backbone_count.append(motif_node_id)
_greatest_backbone_count = motif_backbone_connections_count
# Now we have _node_with_greatest_backbone_count as the best candidate
# for `next_node`.
next_node = max(
Expand Down

0 comments on commit 7ff3562

Please sign in to comment.