Skip to content

Commit

Permalink
various fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Nov 10, 2023
1 parent d711d5e commit e6c1a69
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion activitysim/abm/models/trip_scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ def trip_scheduling(
pd.Series(list(range(len(tours))), tours.index), trips_df.tour_id
)

assert model_settings.DEPART_ALT_BASE
failfix = model_settings.FAILFIX

max_iterations = model_settings.MAX_ITERATIONS
Expand Down
2 changes: 1 addition & 1 deletion activitysim/abm/models/work_from_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WorkFromHomeSettings(LogitComponentSettings, extra="forbid"):
WORK_FROM_HOME_ALT: int
"""Value that specify if the person is working from home""" # TODO

WORK_FROM_HOME_ITERATIONS: int | None = None
WORK_FROM_HOME_ITERATIONS: int = 1
"""Setting to specify the number of iterations."""

CHOOSER_FILTER_COLUMN_NAME: str = "is_worker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,3 @@ MATRICES:
data_field: TNC_SINGLE_EV
- name: TNC_SHARED_EV
data_field: TNC_SHARED_EV

CONSTANTS:

0 comments on commit e6c1a69

Please sign in to comment.