Skip to content

Conversation

@nmdefries
Copy link
Contributor

@nmdefries nmdefries commented Dec 9, 2021

Description

Apply regex that gets weight file date to weight filename only. The regex returns NA if given the whole path. Followup to #1379.

Changelog

  • weights.R::join_weights(): apply regex to filename only.

Fixes

When latest_weight_date is missing, the pipeline generates too-recent smoothed weighted indicators since the condition to suppress too-recent indicators never triggers.

@nmdefries nmdefries requested a review from krivard December 9, 2021 23:23
Copy link
Contributor

@krivard krivard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@krivard krivard merged commit 1e3ebd6 into main Dec 10, 2021
@krivard krivard deleted the fix-smoothed-recent-raw branch December 10, 2021 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants