Skip to content

Commit

Permalink
overwriting search result
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfunk21 committed Jan 12, 2025
1 parent 85f2a8c commit 791f116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ async def mlde_search():
batch_size,
None,
acq_fn,
False # accumulate previous results
False, # accumulate previous results
)

MLDE_SEARCH_DF.set(out)
Expand Down
3 changes: 1 addition & 2 deletions src/proteusAI/Model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ def search(
batch_size=batch_size,
pbar=pbar,
acq_fn=acq_fn,
overwrite=overwrite,
overwrite=overwrite,
)

return out
Expand Down Expand Up @@ -1683,7 +1683,6 @@ def _num_search(
# results file name
fname = f"{csv_dest}/{self.model_type}_{self.rep}.csv"


if os.path.exists(os.path.join(csv_dest, fname)) and not overwrite:
self.search_df = pd.read_csv(os.path.join(csv_dest, fname))
else:
Expand Down

0 comments on commit 791f116

Please sign in to comment.