Skip to content

Commit

Permalink
check if search-data is not None
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBlanke committed Jan 7, 2024
1 parent 79e7163 commit 68a1d93
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def objective_function_dict(self, params):
pass

search_data = self.load_search_data()
if search_data is None:
msg = "Search Data is empty"
raise TypeError(msg)
para_names = list(self.search_space.keys())

params_df = pd.DataFrame(parameter_d, index=[0])
Expand Down

0 comments on commit 68a1d93

Please sign in to comment.