Skip to content

Commit

Permalink
Status Bar for Mac/Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonkoehn committed Oct 11, 2024
1 parent a7577e6 commit 3c5a732
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lollipop/cli/deconvolute.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,9 @@ def deconvolute(
all_deconv = [_deconvolute_bootstrap_wrapper(args) for args in args_list]
# Run the deconvolution in parallel
else:
multiprocessing.freeze_support()
tqdm.set_lock(multiprocessing.Manager().Lock())

# Create a pool of workers
with multiprocessing.Pool(
processes=n_cores, initializer=tqdm.set_lock, initargs=(tqdm.get_lock(),)
Expand Down

0 comments on commit 3c5a732

Please sign in to comment.