Skip to content

Commit 4fca057

Browse files
authored
Default prefix value.
1 parent 869e902 commit 4fca057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdc_covidnet/delphi_cdc_covidnet/update_sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ def update_sensor(
9595
hosp_df["sample_size"] = np.nan
9696

9797
# Write results
98-
signals = add_prefix(SIGNALS, wip_signal=read_params()["wip_signal"], prefix="wip_")
98+
signals = add_prefix(SIGNALS, wip_signal=read_params()["wip_signal"], prefix)
9999
for signal in signals:
100100
write_to_csv(hosp_df, signal, output_path)
101101

102102
return hosp_df
103103

104104

105-
def add_prefix(signal_names, wip_signal, prefix: str):
105+
def add_prefix(signal_names, wip_signal, prefix="wip_"):
106106
"""Adds prefix to signal if there is a WIP signal
107107
Parameters
108108
----------

0 commit comments

Comments
 (0)