Skip to content

Commit

Permalink
modify function to initialize pairwise interactions to also return li…
Browse files Browse the repository at this point in the history
…st of top genes when sorted by mutation count for consistency across other method calls
  • Loading branch information
ashuaibi7 committed Dec 19, 2024
1 parent 69a74f2 commit b50e6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialect/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ def initialize_interaction_objects(k, genes):
for gene_a, gene_b in combinations(top_genes, 2):
interactions.append(Interaction(gene_a, gene_b))
logging.info(f"Initialized {len(interactions)} Interaction objects.")
return interactions
return top_genes, interactions

0 comments on commit b50e6d2

Please sign in to comment.