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

Update cs-config to use taxcalc.Policy directly #1

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

hdoupe
Copy link

@hdoupe hdoupe commented Aug 31, 2020

@Peter-Metz This should resolve the issues from PSLmodels#38 (comment). I opened PSLmodels/ParamTools#117 to better address the issue that this not-so-nice-looking snippet is dealing with:

     policy_params._schema["operators"].update(
        {"label_to_extend": None, "uses_extend_func": False, "array_first": False}
    )


policy_params.set_state(
year=metaparams.year.tolist())

filtered_pol_params = OrderedDict()
policy_params._schema["operators"].update(
{"label_to_extend": None, "uses_extend_func": False, "array_first": False}
)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Peter-Metz I'll go back and fix this once PSLmodels/ParamTools#117 is resolved.

@Peter-Metz
Copy link
Owner

Thanks a bunch @hdoupe! Is this good to merge or should we wait for PSLmodels/ParamTools#117?

@hdoupe
Copy link
Author

hdoupe commented Sep 1, 2020

@Peter-Metz This is good to go! I have a PR open to resolve the operators issue, but I'm still doing some testing.

@Peter-Metz Peter-Metz merged commit 130250e into Peter-Metz:qbid Sep 1, 2020
@hdoupe hdoupe deleted the qbid branch September 1, 2020 15:40
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