Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SubspaceDiscrete.from_dataframe edge case #360

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

AdrianSosic
Copy link
Collaborator

@AdrianSosic AdrianSosic commented Sep 3, 2024

Fixes #358 by:

  • Catching the edge case when a degenerate dataframe with no columns is provided
  • Updating the meta data only when discrete subspace is present (not required for the bugfix but still to be changed)

@AdrianSosic AdrianSosic added the bug Something isn't working label Sep 3, 2024
@AdrianSosic AdrianSosic self-assigned this Sep 3, 2024
baybe/campaign.py Outdated Show resolved Hide resolved
baybe/campaign.py Outdated Show resolved Hide resolved
@Scienfitz
Copy link
Collaborator

Changelog

@AdrianSosic AdrianSosic merged commit 7e874db into main Sep 5, 2024
9 of 11 checks passed
@AdrianSosic AdrianSosic deleted the bugfix/from_dataframe branch September 5, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem when using SearchSpace.from_dataframe with continuous parameters only
3 participants