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

None type non explicitly accepted for samples in RunModel #250

Open
Migoyan opened this issue Nov 6, 2024 · 0 comments
Open

None type non explicitly accepted for samples in RunModel #250

Migoyan opened this issue Nov 6, 2024 · 0 comments
Labels

Comments

@Migoyan
Copy link

Migoyan commented Nov 6, 2024

Describe the bug
beartype violation error raised (not list or numpy array) when passing None value to samples parameter of RunModel class.
This behaviour is inconsistent with the default value, and with the documentation where None is an accepted value for samples.

To Reproduce
Create a RunModel such as RunModel(..., samples=None)

Expected behavior
No error

Desktop (please complete the following information):

  • OS: ubuntu 22
  • version: 4.1.6
@Migoyan Migoyan added the bug label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant