Skip to content

Commit

Permalink
Define labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Nov 15, 2024
1 parent 49d2e0c commit e4f3290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PopPUNK/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ def outputsForCytoscape(G, G_mst, isolate_names, clustering, outPrefix, epiCsv,
# Save each component too (useful for very large graphs)
component_assignments, component_hist = gt.label_components(G)
print("All assignments: " + str(component_assignments))
isolate_labels = isolateNameToLabel(G_mst.vp.id)
for component_idx in range(len(component_hist)):
remove_list = []
for vidx, v_component in enumerate(component_assignments.a):
Expand Down

0 comments on commit e4f3290

Please sign in to comment.