Skip to content

Commit

Permalink
⬆️ clusim integration
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed May 14, 2024
1 parent c686e64 commit 417d17a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cdlib/test/test_partitions_comparisons.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ def test_closeness_simple(self):

def test_clusim(self):

try:
import clusim
except ImportError:
return

g = nx.karate_club_graph()
louvain_communities = louvain(g)
lp_communities = label_propagation(g)
Expand Down

0 comments on commit 417d17a

Please sign in to comment.