Skip to content

Commit

Permalink
Fix edge assignment by model
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Dec 20, 2024
1 parent 668c1af commit 5bbe6af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PopPUNK/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2031,7 +2031,7 @@ def generate_network_from_distances(mode = None,
threads = 1,
gpu_graph = False):
"""
Removes all components that do not contain a query sequence.
Generates a network from a distance matrix.
Args:
mode (str)
Expand Down
2 changes: 2 additions & 0 deletions PopPUNK/visualise.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ def generate_visualisations(query_db,
acc_distMat = acc_distMat,
combined_seq = combined_seq,
distance_type = mst_distances,
model = model,
threads = threads,
gpu_graph = gpu_graph)
elif use_sparse:
Expand All @@ -611,6 +612,7 @@ def generate_visualisations(query_db,
rlist = rlist,
old_rlist = old_rlist,
distance_type = mst_distances,
model = model,
threads = threads,
gpu_graph = gpu_graph)
else:
Expand Down

0 comments on commit 5bbe6af

Please sign in to comment.