Skip to content

Commit a2adcc6

Browse files
authored
Merge pull request #1412 from cmu-delphi/release/indicators_v0.2.13_utils_v0.2.6
Release covidcast-indicators 0.2.13
2 parents 97af346 + 8d5beda commit a2adcc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.2.12
2+
current_version = 0.2.13
33
commit = True
44
message = chore: bump covidcast-indicators to {new_version}
55
tag = False

facebook/delphiFacebook/R/weights.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ join_weights <- function(data, params, weights = c("step1", "full"))
6565

6666
latest_weight <- tail(weights_files, n = 1)
6767
latest_weight_date <- as.Date(
68-
stri_extract_first(latest_weight, regex = "^[0-9]{4}-[0-9]{2}-[0-9]{2}")
68+
stri_extract_first(basename(latest_weight), regex = "^[0-9]{4}-[0-9]{2}-[0-9]{2}")
6969
)
7070

7171
col_types <- c("character", "double")

0 commit comments

Comments
 (0)