Commit e65d9fab authored by Cynthia Crowley's avatar Cynthia Crowley

Change conditional to do composites on yearmon >= historical[window-1] such that it is inclusive

parent e9115a6b
Pipeline #71507502 failed with stages
in 59 minutes and 12 seconds
......@@ -67,7 +67,7 @@ def monthly_observed(config: Config, yearmon: str, meta_steps: Dict[str, Step])
for window in [1] + config.integration_windows():
# Don't write composite steps for a window that extends back too early.
if yearmon > config.historical_yearmons()[window-1]:
if yearmon >= config.historical_yearmons()[window-1]:
composite_indicator_steps = composite_indicators(config.workspace(), window=window, yearmon=yearmon)
steps += composite_indicator_steps
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment