Skip to content

Commit

Permalink
restrict polars threads to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
AroneyS committed Jun 3, 2024
1 parent 759e5b0 commit 16926ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singlem/supplement.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ def supplement(self, **kwargs):
if len(kwargs) > 0:
raise Exception("Unexpected arguments detected: %s" % kwargs)

os.environ["POLARS_MAX_THREADS"] = str(threads)
os.environ["POLARS_MAX_THREADS"] = str(1)
import polars as pl

if new_genome_fasta_files is None and new_genome_fasta_files_list is None:
Expand Down

0 comments on commit 16926ed

Please sign in to comment.