From 7449923c2ffc23d06a48ef3958bb7bd69d1de5cc Mon Sep 17 00:00:00 2001 From: JoeJimFlood Date: Thu, 28 Mar 2024 10:57:24 -0700 Subject: [PATCH] Fixed call of reading in alts preprocessor --- activitysim/abm/models/vehicle_type_choice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitysim/abm/models/vehicle_type_choice.py b/activitysim/abm/models/vehicle_type_choice.py index c853f173a..13b6ca5f7 100644 --- a/activitysim/abm/models/vehicle_type_choice.py +++ b/activitysim/abm/models/vehicle_type_choice.py @@ -348,7 +348,7 @@ def iterate_vehicle_type_choice( ) # alts preprocessor - alts_preprocessor_settings = model_settings.alts_preprocessor + alts_preprocessor_settings = model_settings.get("alts_preprocessor", None) if alts_preprocessor_settings: expressions.assign_columns( df=alts_wide,