diff --git a/coordinator/ProcessorSurveys.py b/coordinator/ProcessorSurveys.py index 33ab937ad26b3f7b64af53871f83652ef9e20c96..8da4d69c1eb536e9351337c747a67a29e3d70bb2 100644 --- a/coordinator/ProcessorSurveys.py +++ b/coordinator/ProcessorSurveys.py @@ -370,7 +370,7 @@ class ProcessorSurveys(Processor): origins_list = df_join["Origin"].unique() groups = {i:[i] for i in origins_list} - assert not np_any([k in origins_list for k in config['Survey']['Groups'].keys()]) + assert not np_any([k in origins_list for k in config['Survey']['Groups'].keys()]), 'Group(s) defined in config already present in the survey data as origin' groups.update(config['Survey']['Groups'])