Skip to content

Commit 8d37a4f

Browse files
authored
hsa-nci to hsa_nci (#2164)
1 parent 57e8305 commit 8d37a4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nssp/delphi_nssp/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"state",
1010
"county",
1111
"hhs",
12-
"hsa-nci",
12+
"hsa_nci",
1313
]
1414

1515
SIGNALS_MAP = {

nssp/delphi_nssp/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def run_module(params, logger=None):
138138
df = geo_mapper.add_geocode(df, "state_code", "hhs", from_col="state_code", new_col="geo_id")
139139
df = geo_mapper.aggregate_by_weighted_sum(df, "geo_id", "val", "timestamp", "population")
140140
df = df.rename(columns={"weighted_val": "val"})
141-
elif geo == "hsa-nci":
141+
elif geo == "hsa_nci":
142142
df = df[["hsa_nci_id", "val", "timestamp"]]
143143
df = df[df["hsa_nci_id"] != "All"]
144144
# We use drop_duplicates below just to pick a representative value,

0 commit comments

Comments
 (0)