Skip to content

Commit

Permalink
[FIX] objective wrapper for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapels committed Nov 9, 2024
1 parent 5ae2406 commit 8375eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deepmol/pipeline_optimization/objective_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def __init__(self, objective_steps, study, direction, save_top_n, trial_timeout=
def run_with_timeout_windows(self):

@timeout(self.trial_timeout)
def run_with_timeout():
return self._run()
def run_with_timeout(trial):
return self._run(trial)

return run_with_timeout

Expand Down

0 comments on commit 8375eb9

Please sign in to comment.