File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/acquisition/covidcast Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ class CsvImporter:
5959 geo_types_pattern = "|" .join (sorted (GEOGRAPHIC_RESOLUTIONS , key = len , reverse = True ))
6060
6161 # .../source/yyyymmdd_geo_signal.csv
62- PATTERN_DAILY = re .compile (rf '^.*/([^/]*)/(\d{{8}} )_({ geo_types_pattern } )_(.+)\.csv$' )
62+ PATTERN_DAILY = re .compile (r '^.*/([^/]*)/(\d{8} )_(' + geo_types_pattern + r' )_(.+)\.csv$' )
6363
6464 # .../source/weekly_yyyyww_geo_signal.csv
65- PATTERN_WEEKLY = re .compile (rf '^.*/([^/]*)/weekly_(\d{{6}} )_({ geo_types_pattern } )_(.+)\.csv$' )
65+ PATTERN_WEEKLY = re .compile (r '^.*/([^/]*)/weekly_(\d{6} )_(' + geo_types_pattern + r' )_(.+)\.csv$' )
6666
6767 # .../issue_yyyymmdd
6868 PATTERN_ISSUE_DIR = re .compile (r'^.*/([^/]*)/issue_(\d{8})$' )
You can’t perform that action at this time.
0 commit comments