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

Catch paramtools error #147

Closed
wants to merge 3 commits into from
Closed

Conversation

hdoupe
Copy link
Collaborator

@hdoupe hdoupe commented Dec 17, 2020

ParamTools is throwing an error when it shouldn't (i.e. raise_errors=False). This PR updates validate_inputs to catch the exception and save the errors while I fix the problem in ParamTools.

cc @andersonfrailey

Related #145

@andersonfrailey
Copy link
Collaborator

Thanks for this, @hdoupe! If I'm understanding this error correctly, the issue is paramtools is comparing the reform value for II_brk7 single filers to each of the types of filers in II_brk6 and throwing an error because there is overlap with the head of household threshold in II_brk6, when paramtools should only be comparing the reform value to the single filer threshold in II_brk6. Is that about right?

Even with this PR, paramtools should still catch any other type of error though, right?

@hdoupe
Copy link
Collaborator Author

hdoupe commented Feb 19, 2021

Closed in favor of PSLmodels/Tax-Calculator#2532

@hdoupe hdoupe closed this Feb 19, 2021
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.

2 participants