File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 43
43
"incidence" : ("incidence_prop" , False ),
44
44
"cumulative_prop" : ("cumulative_prop" , False ),
45
45
}
46
+ # Temporarily added for wip_ signals
47
+ WIP_SENSOR_NAME_MAP = {
48
+ "new_counts" : ("incid_num" , False ),
49
+ "cumulative_counts" : ("cumul_num" , False ),
50
+ "incidence" : ("incid_prop" , False ),
51
+ "cumulative_prop" : ("cumul_prop" , False ),
52
+ }
46
53
SMOOTHERS_MAP = {
47
54
"unsmoothed" : (identity , '' , False ),
48
55
"seven_day_average" : (seven_day_moving_average , '7dav_' , True ),
@@ -86,6 +93,7 @@ def run_module():
86
93
sensor_name = SENSOR_NAME_MAP [sensor ][0 ]
87
94
if (SENSOR_NAME_MAP [sensor ][1 ] or SMOOTHERS_MAP [smoother ][2 ]):
88
95
metric = f"wip_{ metric } "
96
+ sensor_name = WIP_SENSOR_NAME_MAP [sensor ][0 ]
89
97
sensor_name = SMOOTHERS_MAP [smoother ][1 ] + sensor_name
90
98
create_export_csv (
91
99
df ,
You can’t perform that action at this time.
0 commit comments