Skip to content

Commit

Permalink
Fix async call of create_aliases
Browse files Browse the repository at this point in the history
Fix #224

What I don't understand:
Why did I not get any exception?
Without this change, it just did not call the func
(or I don't know, but at least it did not work, it did nothing).
  • Loading branch information
albertz committed Nov 28, 2024
1 parent cf747fc commit 1393108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sisyphus/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def maybe_clear_state(state, always_clear, action):
self.print_state_overview(verbose=True)
elif answer.lower() == "y":
self.link_outputs = True
self.thread_pool.apply_async(create_aliases, self.sis_graph.jobs())
self.thread_pool.apply_async(create_aliases, (self.sis_graph.jobs(),))
self.thread_pool.apply_async(
self.check_output,
kwds={"write_output": self.link_outputs, "update_all_outputs": True, "force_update": True},
Expand Down

0 comments on commit 1393108

Please sign in to comment.