From d7f993fdd23cfade3aa1244fc42d231b89132336 Mon Sep 17 00:00:00 2001 From: Nick Croucher Date: Wed, 18 Dec 2024 15:44:34 +0000 Subject: [PATCH] Fix GPU option --- PopPUNK/visualise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PopPUNK/visualise.py b/PopPUNK/visualise.py index d9f10031..f4cc78de 100644 --- a/PopPUNK/visualise.py +++ b/PopPUNK/visualise.py @@ -717,7 +717,7 @@ def generate_visualisations(query_db, genomeNetwork = cugraph_to_graph_tool(genomeNetwork, isolateNameToLabel(all_seq)) # Hard delete from network to remove samples (mask doesn't work neatly) if include_files is not None: - genomeNetwork = remove_nodes_from_graph(genomeNetwork, all_seq, viz_subset, use_gpu = gpu_graph) + genomeNetwork = remove_nodes_from_graph(genomeNetwork, all_seq, viz_subset, use_gpu = False) elif rank_fit is not None: genomeNetwork = sparse_mat_to_network(sparse_mat, combined_seq, use_gpu = gpu_graph) elif recalculate_distances: