Skip to content

Commit

Permalink
black formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Aug 27, 2024
1 parent a38cf72 commit 95b9c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion daisy/convenience.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def run_blockwise(tasks, multiprocessing=True):
server = SerialServer()
cl_monitor = CLMonitor(server)
return server.run_blockwise(tasks)

else:
stop_event = Event()

Expand Down
4 changes: 2 additions & 2 deletions daisy/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def __init__(
self.init_callback_fn = self._default_init

args = getfullargspec(process_function).args
if 'self' in args:
args.remove('self')
if "self" in args:
args.remove("self")
if len(args) == 0:
# spawn function
self.spawn_worker_function = process_function
Expand Down

0 comments on commit 95b9c12

Please sign in to comment.