From e607adeefb0a4dc55f96eaacab3543c79db9b0aa Mon Sep 17 00:00:00 2001 From: AroneyS Date: Wed, 10 Apr 2024 13:27:22 +1000 Subject: [PATCH] remove extra threads parameter --- binchicken/workflow/scripts/target_elusive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binchicken/workflow/scripts/target_elusive.py b/binchicken/workflow/scripts/target_elusive.py index d966a555..c5f467bb 100755 --- a/binchicken/workflow/scripts/target_elusive.py +++ b/binchicken/workflow/scripts/target_elusive.py @@ -21,6 +21,8 @@ def get_clusters( samples, PRECLUSTER_SIZE=2, MAX_COASSEMBLY_SAMPLES=2): + logging.info(f"Polars using {str(pl.thread_pool_size())} threads") + if len(distances) == 0: return pl.DataFrame(schema={"samples": str}) @@ -220,7 +222,6 @@ def process_groups(df): samples, PRECLUSTER_SIZE=PRECLUSTER_SIZE, MAX_COASSEMBLY_SAMPLES=MAX_COASSEMBLY_SAMPLES, - threads=snakemake.threads ) else: sample_preclusters = None