From 6464fcd67be5f55a2a384a137d0dbbc8ba1c8c95 Mon Sep 17 00:00:00 2001 From: Nick Croucher Date: Wed, 6 Nov 2024 20:55:27 +0000 Subject: [PATCH] Rename function consistently --- PopPUNK/assign.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PopPUNK/assign.py b/PopPUNK/assign.py index a2fc348f..13e5beee 100644 --- a/PopPUNK/assign.py +++ b/PopPUNK/assign.py @@ -367,7 +367,7 @@ def assign_query_hdf5(dbFuncs, from .network import get_vertex_list from .network import printExternalClusters from .network import vertex_betweenness - from .network import retain_only_query_clusters + from .network import remove_non_query_components from .qc import sketchlibAssemblyQC from .plot import writeClusterCsv @@ -801,7 +801,7 @@ def assign_query_hdf5(dbFuncs, else: storePickle(rNames, qNames, False, qrDistMat, dists_out) if save_partial_query_graph: - genomeNetwork, pruned_isolate_lists = retain_only_query_clusters(genomeNetwork, rNames, qNames, use_gpu = gpu_graph) + genomeNetwork, pruned_isolate_lists = remove_non_query_components(genomeNetwork, rNames, qNames, use_gpu = gpu_graph) if model.type == 'lineage' and not serial: save_network(genomeNetwork[min(model.ranks)], prefix = output, suffix = '_graph', use_gpu = gpu_graph) else: