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

Warning when symbols provided in params and/or state vectors are not used in flexmodel model definition #228

Open
papsti opened this issue Jun 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@papsti
Copy link
Collaborator

papsti commented Jun 28, 2022

Currently an error gets thrown when the user tries to run a model where the flexmodel definition (handled through functions like add_rate(), etc.) utilizes symbols that have not been passed through the params or state vectors. It would be great if a warning for the converse case existed, i.e., when a user provides a symbol via the params or state vectors that isn't actually used in the model definition.

I can imagine a case where a user puts a parameter symbol in the params list intending to build a mechanism using it, but then forgets to add it to the model definition, and runs the model thinking that mechanism has actually been implemented. The warning I suggest would help prevent this issue.

@papsti papsti added the enhancement New feature or request label Jun 28, 2022
@stevencarlislewalker stevencarlislewalker self-assigned this Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants