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

Added check for undeveloped antimalarial resistance features (SPC/LPF… #282

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

tbreweric
Copy link
Contributor

Following the suggestion in the antimalarial_resistance/etf pull request, I have added a check in the set_antimalarial_resistance() function to error when users attempt to give non-zero values to parameters relating to undeveloped features.

I have also added a test to the test-antimalarial-resistance.R file to ensure the check works as anticipated.

The documentation entries for the parameters in the get_parameters() (parameters.R) documentation have been modified to warn users that the parameters represent features under development.

I stopped short of adding a note in the vignette, but can add this if it is thought to be a good idea!

…/LCF/RDP). Included test to ensure check works and amended documentation in get_parameters() to warn users features in development.
Copy link
Member

@pwinskill pwinskill left a comment

Choose a reason for hiding this comment

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

Thanks Tom, that's a good safety net for now 😎.
Well done for adding the test on the error - that will ensure you don't forget to turn it off when those features are added.

Copy link
Member

@giovannic giovannic left a comment

Choose a reason for hiding this comment

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

👍

@tbreweric tbreweric merged commit 1a5f00a into dev Feb 15, 2024
4 checks passed
@tbreweric tbreweric deleted the feat/resistance_unused_feature_error branch February 15, 2024 16:11
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.

3 participants