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

Refactor argument checker functions to cross-checking only #175

Closed
pratikunterwegs opened this issue Feb 9, 2024 · 0 comments · Fixed by #176
Closed

Refactor argument checker functions to cross-checking only #175

pratikunterwegs opened this issue Feb 9, 2024 · 0 comments · Fixed by #176
Assignees
Labels

Comments

@pratikunterwegs
Copy link
Collaborator

This issue is to request a change to the model argument checker and preparation functions, .check_args_model_*() and .prepare_args_model_default(), to operate only on a list of the composable model elements in each model call: the population, intervention, vaccination, time_dependence and (for the diphtheria model only) population_change.

Previously, these functions were also used to prepare the infection parameters (e.g. conversion from $R_0$ to $\beta$), but this is no longer the case as of #140.

The functions need not be vectorised.

@pratikunterwegs pratikunterwegs self-assigned this Feb 9, 2024
pratikunterwegs added a commit that referenced this issue Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant