Skip to content

Commit e54057b

Browse files
author
mb3152
committed
cleaned up nodal_roles
1 parent 97ff555 commit e54057b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

brainx/nodal_roles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def within_community_degree(weighted_partition):
3030
community_degrees = []
3131
for node in node_community:
3232
partition.degree_within_community(node)
33-
all_community_degree.append()
33+
community_degrees.append()
3434
all_community_degrees[node_community] = community_degrees
3535
# I don't know if it's faster to compute this on the fly every
3636
# time or store the results in a dictionary?

brainx/weighted_modularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import copy
44
import numpy as np
55
import networkx as nx
6-
from . import util
6+
import util
77

88

99
class WeightedPartition(object):

0 commit comments

Comments
 (0)