Skip to content

Commit c105ef2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 427bcdd commit c105ef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

optimas/generators/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def ask_trials(self, n_trials: int) -> List[Trial]:
216216
analyzed_parameters=self._analyzed_parameters,
217217
custom_parameters=self._custom_trial_parameters,
218218
)
219-
if 'ax_trial_id' in point:
220-
trial.ax_trial_id = point['ax_trial_id']
219+
if "ax_trial_id" in point:
220+
trial.ax_trial_id = point["ax_trial_id"]
221221
gen_trials.append(trial)
222222
# Keep only trials that have been given data.
223223
for trial in gen_trials:

0 commit comments

Comments
 (0)