Skip to content

Commit ea3b5e4

Browse files
committed
switch multiprocessing to multiprocess
1 parent 796a1bd commit ea3b5e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cooltools/lib/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def wrapper(*args, **kwargs):
529529
if "nproc" in kwargs.keys():
530530
if kwargs["nproc"] > 1:
531531
pool = Pool(kwargs["nproc"])
532-
mymap = pool.map
532+
mymap = pool.imap
533533
else:
534534
mymap = map
535535
try:

0 commit comments

Comments
 (0)