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

Add validation rules to PrevalenceAllLineagesByLocationHandler parameters #69

Open
flaneuse opened this issue Feb 13, 2023 · 0 comments
Assignees
Labels

Comments

@flaneuse
Copy link
Contributor

Within PrevalenceAllLineagesByLocationHandler, add the following validation rules:

location_id : str
window: int >= 1
other_threshold : float >= 0 & <= 1
nday_threshold : int >= 1
ndays : int >= 1
other_exclude : str
cumulative : bool
min_date: date/str (you already added a validation to throw an error if not a date format, so should be good)
max_date: date/str (you already added a validation to throw an error if not a date format, so should be good)

Note that a few of the types need to be adjusted (window, nday_threshold)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants