Skip to content

Commit

Permalink
fix deprecated threadpool_size
Browse files Browse the repository at this point in the history
  • Loading branch information
AroneyS committed Apr 10, 2024
1 parent 174afca commit b34611d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binchicken/workflow/scripts/sketch_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def processing(unbinned):
if __name__ == "__main__":
os.environ["POLARS_MAX_THREADS"] = str(snakemake.threads)
import polars as pl
logging.info(f"Polars using {str(pl.threadpool_size())} threads")
logging.info(f"Polars using {str(pl.thread_pool_size())} threads")

logging.basicConfig(
filename=snakemake.log[0],
Expand Down

0 comments on commit b34611d

Please sign in to comment.