Skip to content

Commit 7c77be5

Browse files
committed
Merge branch 'nssp_patching' of https://github.com/cmu-delphi/covidcast-indicators into nssp_patching
2 parents a4c4aec + c4dd3b2 commit 7c77be5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nssp/delphi_nssp/patch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ def get_patch_dates(start_issue, end_issue, source_dir):
113113
patch_dates = []
114114
date_range = pd.date_range(start=start_issue, end=end_issue)
115115
dates_with_source_data = {
116-
date
117-
for date in date_range
118-
if path.isfile(f"""{source_dir}/{date.strftime("%Y%m%d")}.csv.gz""")
116+
date for date in date_range if path.isfile(f"""{source_dir}/{date.strftime("%Y%m%d")}.csv.gz""")
119117
}
120118
epiweek_start_dates = {Week.fromdate(date).startdate() for date in date_range}
121119
for epiweek_start_date in epiweek_start_dates:

0 commit comments

Comments
 (0)