Skip to content

Commit

Permalink
Avoiding unnecessary pruing
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Nov 15, 2024
1 parent 4eb6c83 commit d82448c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions PopPUNK/visualise.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,8 @@ def generate_visualisations(query_db,
# extract subset of distances if requested
combined_seq = read_rlist_from_distance_pickle(distances + '.pkl', include_queries = True)
all_seq = combined_seq # all_seq is an immutable record use for network parsing
if include_files is not None or use_partial_query_graph is not None:
if include_files is not None:
viz_subset = set()
subset_file = include_files if include_files is not None else use_partial_query_graph
with open(subset_file, 'r') as assemblyFiles:
for assembly in assemblyFiles:
viz_subset.add(assembly.rstrip())
Expand Down

0 comments on commit d82448c

Please sign in to comment.