You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baus.py currently checks for booleans for a number of steps. These will fail if the key is not defined in the run_setup.yaml file.
It may be cleaner to have the run_setup.yaml file be more minimal, with only relevant keys defined - and conversely in baus.py do a safe dict.get() check, with a False default.
This essentially means more default assumptions are moved to baus.py which may (or may not) be desirable.
Flagging this because errors are raised - the fix is either behavioral - enforce that any key mentioned in baus.py is defined in run_setup.yaml - or else, technical, using safe key getting in baus.py with appropriate defaults.
baus.py
currently checks for booleans for a number of steps. These will fail if the key is not defined in therun_setup.yaml
file.It may be cleaner to have the
run_setup.yaml
file be more minimal, with only relevant keys defined - and conversely inbaus.py
do a safe dict.get() check, with a False default.This essentially means more default assumptions are moved to
baus.py
which may (or may not) be desirable.Flagging this because errors are raised - the fix is either behavioral - enforce that any key mentioned in
baus.py
is defined inrun_setup.yaml
- or else, technical, using safe key getting inbaus.py
with appropriate defaults.bayarea_urbansim/baus.py
Line 374 in d36fedc
The text was updated successfully, but these errors were encountered: