Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove extra threads parameter
Browse files Browse the repository at this point in the history
AroneyS committed Apr 10, 2024
1 parent b1178e6 commit e607ade
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion binchicken/workflow/scripts/target_elusive.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e607ade

Please sign in to comment.