Skip to content
Snippets Groups Projects
Commit 92f2d8c3 authored by nfontrod's avatar nfontrod
Browse files

src/find_interaction_cluster/clip_figures/communities_similarities.py:...

src/find_interaction_cluster/clip_figures/communities_similarities.py: removing print in is_overlapping method of partition class
parent 3f3920fc
No related branches found
No related tags found
No related merge requests found
......@@ -47,13 +47,7 @@ class Partition:
True
"""
res = reduce(add, self.communities)
result = len(res) != len(np.unique(res))
if result:
gene, counts = np.unique(res, return_counts=True)
d = pd.DataFrame({"count": counts, "genes": gene})
print(d[d["count"] != 1])
print(d)
return result
return len(res) != len(np.unique(res))
def load_communities(community_files: Path, feature: str) -> List[List]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment