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

beaker.experiment.create should allow for an empty (or None) name #256

Closed
jlcmoore opened this issue Sep 25, 2023 · 1 comment · Fixed by #257
Closed

beaker.experiment.create should allow for an empty (or None) name #256

jlcmoore opened this issue Sep 25, 2023 · 1 comment · Fixed by #257

Comments

@jlcmoore
Copy link

🚀 The feature, motivation and pitch

The beaker command line, such as beaker experiment create spec.yaml, does not require that you specify a name. If no name is provided it defaults to the experiment id. This is not the same behavior as in beaker.experiment.create which requires a non empty string name.

I am running many experiments using beaker.experiment.create, some of which fail (at least during the testing process). Thus coming up with unique, meaningful names for each experiment is challenging (recall that beaker requires experiment names to be unique, unless they have been manually deleted). I can get around this by using a hash or something of that sort but it would be more elegant to simply allow the experiment id to be the name. Thanks for considering!

Alternatives

No response

Additional context

No response

@epwalsh
Copy link
Member

epwalsh commented Sep 25, 2023

Hey @jlcmoore, I've opened #257 to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants