Skip to content

Commit aeae17e

Browse files
committed
Fix geo_type typo
1 parent a4dd6b1 commit aeae17e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/acquisition/rvdss/pull_historic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ def fix_edge_cases(table,season,caption,current_week):
332332
table.loc[table['week'] == 32, 'week end'] = "2017-08-12"
333333
if "detections" not in caption.text.lower():
334334
table.loc[table['week'] == 40, 'week end'] = "2016-10-08"
335+
if current_week == 3 and "detections" in caption.text.lower():
336+
# lab name supposed to be alberta
337+
table.loc[table['reporting laboratory'] == 'Province of', 'reporting laboratory'] = "Alberta"
335338
elif season[0] == '2021' and "parainfluenza" in caption.text.lower():
336339
# In multiple weeks of the 2021-2022 season, in the positive hpiv table,
337340
# the date for week 12 is 2022-03-19, instead of 2022-03-26

0 commit comments

Comments
 (0)