From 7073c7a777caffb0690636578c86f88bcf55a36e Mon Sep 17 00:00:00 2001
From: jws52 <jws52@cam.ac.uk>
Date: Mon, 5 Feb 2024 12:38:01 +0000
Subject: [PATCH] fix: Correct a logging message

---
 coordinator/ProcessorSurveyUtils.py | 2 +-
 coordinator/ProcessorSurveys.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/coordinator/ProcessorSurveyUtils.py b/coordinator/ProcessorSurveyUtils.py
index dc3c39f..8d8b888 100644
--- a/coordinator/ProcessorSurveyUtils.py
+++ b/coordinator/ProcessorSurveyUtils.py
@@ -134,7 +134,7 @@ def parse_columns(df_in,coln_parser_dict):
     # callable only works in python 3.2+ apparently
     coln_func_dict = {k:v for k,v in coln_parser_dict.items() if isinstance(v,tuple)}
     logger.info(f"Applying {len(coln_func_dict)} functions to columns")
-    logger.debug(f"Columns being renamed are {coln_rename_dict}")
+    logger.debug(f"Columns having function applied are {coln_func_dict}")
     dfs_to_concat = [df_out]
 
     for key,val in coln_func_dict.items():
diff --git a/coordinator/ProcessorSurveys.py b/coordinator/ProcessorSurveys.py
index 9b6d9e0..c229f58 100644
--- a/coordinator/ProcessorSurveys.py
+++ b/coordinator/ProcessorSurveys.py
@@ -74,7 +74,7 @@ class ProcessorSurveys(Processor):
             'WRT':         get_WRT_form_as_csv,
             'ODKv2':       get_ODKv2_form_as_csv,
             'newODK':      get_newODK_form_as_csv,
-            'newODK2' : get_newODK2_form_as_csv,
+            'newODK2' :    get_newODK2_form_as_csv,
         }
 
     def process_pre_job_survey(self, input_args):
-- 
GitLab