Skip to content

Commit

Permalink
fix bug in serial server
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Oct 25, 2024
1 parent 41d7de4 commit ea7089f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions daisy/serial_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def run_blockwise(self, tasks: list[Task], scheduler=None) -> dict[str, TaskStat
del process_funcs[block.task_id]

if len(process_funcs) == 0:
self.notify_server_exit()
return scheduler.task_states
raise NotImplementedError("Unreachable")
break

self.notify_server_exit()
return scheduler.task_states

0 comments on commit ea7089f

Please sign in to comment.