Commit b3319b23 authored by kaghog's avatar kaghog
Browse files

correct it so that None is considered when specific day is not wanted

parent 0fba4114
......@@ -163,7 +163,7 @@ def execute(context):
is_weekend_scenario = context.config("weekend_scenario")
specific_weekend_scenario = context.config("specific_weekend_scenario")
specific_day = context.config("specific_day_scenario")
is_specific_day_scenario = specific_day != "avgworkday"
is_specific_day_scenario = (specific_day != "avgworkday") & (specific_day is not None)
# Source are the MZ observations, for each STATPOP person, a sample is drawn from there
#specify day of the week the scenario will be generated for
Supports Markdown
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