Skip to content

Commit c927a74

Browse files
Add Low Case Count Thresholds into Constants File (#73)
This update is meant to coincide with the PR in epinow2 CDCgov/cfa-epinow2-pipeline#353 to add in pathogen-specific low case count thresholds. This PR just adds disease-specific low case count thresholds that can be read into the epinow2 pipeline.
1 parent 876abd3 commit c927a74

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/cfa_config_generator/utils/epinow2/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"facility_active_proportion": 1.0,
1717
}
1818

19+
low_case_count_thresholds = {"COVID-19": 10, "Influenza": 10, "RSV": 5}
20+
1921
all_states = (
2022
"AK",
2123
"AL",

src/cfa_config_generator/utils/epinow2/functions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from cfa_config_generator.utils.epinow2.constants import (
1111
all_diseases,
12+
low_case_count_thresholds,
1213
nssp_valid_states,
1314
shared_params,
1415
)
@@ -384,6 +385,7 @@ def generate_task_configs(
384385
"min_reference_date": min(reference_dates).isoformat(),
385386
"max_reference_date": max(reference_dates).isoformat(),
386387
"disease": d,
388+
"low_case_count_thresholds": low_case_count_thresholds,
387389
"geo_value": s,
388390
"geo_type": "state" if s != "US" else "country",
389391
"report_date": report_date.isoformat(),

0 commit comments

Comments
 (0)