Skip to content

Commit cf49a54

Browse files
committed
pass both years in the season instead of the startyear
1 parent c2389bd commit cf49a54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/acquisition/rvdss/pull_historic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ def fetch_one_season_from_report(url):
348348

349349
# create tables to hold all the data for the season
350350
all_positive_tables=pd.DataFrame()
351-
all_number_tables=pd.DataFrame()
352351
all_respiratory_detection_tables=pd.DataFrame()
353352

354353
for week_num in range(len(urls)):
@@ -414,7 +413,7 @@ def fetch_one_season_from_report(url):
414413

415414
# # One-off edge cases where tables need to be manually adjusted because
416415
# # they will cause errors otherwise
417-
table = fix_edge_cases(table, season[0], caption, current_week)
416+
table = fix_edge_cases(table, season, caption, current_week)
418417

419418
# check if both ah1 and h1n1 are given. If so drop one since they are the same virus and ah1 is
420419
# always empty

0 commit comments

Comments
 (0)