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

Test if a draw function is a function in validate_draw_function #74

Merged
merged 3 commits into from
Jul 15, 2024

Conversation

twallema
Copy link
Owner

  • I have checked to ensure there aren't other open Pull Requests for the same update/change
  • I have updated the documentation accordingly.

Describe your fixes/additions/changes

In models/validation.py function validate_draw_function it wasn't checked if a draw function was a function before checking its number of input parameters, this opened the door to unpredictable error messages if the user would not supply a function.

@twallema twallema merged commit 09355c1 into master Jul 15, 2024
3 checks passed
@twallema twallema deleted the test-if-draw-function-is-function branch July 15, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant