FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 8d226fe4 authored by Dr T. Mona's avatar Dr T. Mona
Browse files

fix: add descriptive message

parent ee763475
No related branches found
No related tags found
No related merge requests found
...@@ -370,7 +370,7 @@ class ProcessorSurveys(Processor): ...@@ -370,7 +370,7 @@ class ProcessorSurveys(Processor):
origins_list = df_join["Origin"].unique() origins_list = df_join["Origin"].unique()
groups = {i:[i] for i in origins_list} 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']) groups.update(config['Survey']['Groups'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment