aboutsummaryrefslogtreecommitdiff
path: root/plip/basic/parallel.py
diff options
context:
space:
mode:
Diffstat (limited to 'plip/basic/parallel.py')
-rw-r--r--plip/basic/parallel.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plip/basic/parallel.py b/plip/basic/parallel.py
index 1f71943..cd0b93b 100644
--- a/plip/basic/parallel.py
+++ b/plip/basic/parallel.py
@@ -34,9 +34,9 @@ def parallel_fn(f):
def simple_parallel(func, sequence, **args):
""" f takes an element of sequence as input and the keyword args in **args"""
- if 'processes' in args:
- processes = args.get('processes')
- del args['processes']
+ if "processes" in args:
+ processes = args.get("processes")
+ del args["processes"]
else:
processes = multiprocessing.cpu_count()