Skip to content

Commit b51f094

Browse files
author
CindeeM
committed
DOC: better doc string for _combine
1 parent 32e4683 commit b51f094

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

brainx/weighted_modularity.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,9 @@ def meta_graph(partition):
364364
return metagraph, mapping
365365

366366
def _combine(prev, next):
367-
"""combines nodes in set based on next level
368-
communities partition
367+
"""combines nodes in sets (prev) based on mapping defined by
368+
(next) (which now treats a previous communitity as a node)
369+
but maintains specification of all original nodes
369370
370371
Parameters
371372
----------

0 commit comments

Comments
 (0)