From fb716c61be7ed6cf563770dce7a61d524ff7fa4a Mon Sep 17 00:00:00 2001
From: jws52 <jws52@cam.ac.uk>
Date: Mon, 29 Apr 2024 10:36:57 +0100
Subject: [PATCH] fix: Anticipate recent date range naming convention

I think connected to ews-postprocessing or ews-plotting convention.

This may be related to a recent commit.
---
 coordinator/ProcessorEpidemiology.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coordinator/ProcessorEpidemiology.py b/coordinator/ProcessorEpidemiology.py
index 7ab4aa1..12bc7cf 100644
--- a/coordinator/ProcessorEpidemiology.py
+++ b/coordinator/ProcessorEpidemiology.py
@@ -632,7 +632,7 @@ class ProcessorEpidemiology(Processor):
 
                 # check column name is defined as expected
                 # from epi start time to forecast start time
-                column_name = f"X{config['StartTimeShort']}_X{config['StartString']}0000"
+                column_name = f"{config['StartTimeShort']}_{config['StartString']}0000"
                 assert df_seasonsofar.name == column_name
 
                 #  save to csv
-- 
GitLab