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

Handle error where user specifies more recipes than are available in database #17

Closed
matrulda opened this issue Dec 8, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@matrulda
Copy link
Owner

matrulda commented Dec 8, 2019

Catch this error from random:
ValueError: Sample larger than population or is negative

Or check after loading the database.

@matrulda matrulda self-assigned this Dec 8, 2019
@matrulda matrulda added the enhancement New feature or request label Dec 8, 2019
@matrulda matrulda pinned this issue Dec 12, 2019
@matrulda matrulda added this to the 1.2.0 milestone Mar 7, 2020
@matrulda matrulda unpinned this issue Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant