Skip to content

Commit 5d8aba5

Browse files
authored
Fix get_executor invocation (#74)
* fix get_executor invocation * bump version
1 parent 84c1d68 commit 5d8aba5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name="wkcuber",
55
packages=find_packages(exclude=("tests",)),
6-
version="0.2.3",
6+
version="0.2.4",
77
install_requires=["scipy", "numpy", "pillow", "pyyaml", "wkw"],
88
description="A cubing tool for webKnossos",
99
author="Norman Rzepka",

wkcuber/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def get_executor_for_args(args):
125125
else:
126126
jobs = cpu_count()
127127

128-
executor = cluster_tools.get_executor("multiprocessing", jobs)
128+
executor = cluster_tools.get_executor("multiprocessing", max_workers=jobs)
129129
logging.info("Using pool of {} workers.".format(jobs))
130130
elif args.distribution_strategy == "slurm":
131131
if args.job_resources is None:

0 commit comments

Comments
 (0)