diff --git a/activitysim/abm/models/summarize.py b/activitysim/abm/models/summarize.py index e842393fd..d613b5637 100644 --- a/activitysim/abm/models/summarize.py +++ b/activitysim/abm/models/summarize.py @@ -234,7 +234,7 @@ def summarize( trace_label: str = "summarize", ) -> None: """ - A standard model that uses expression files to summarize pipeline tables for vizualization. + A standard model that uses expression files to summarize pipeline tables for visualization. Summaries are configured in `summarize.yaml`, including specification of the expression file (`summarize.csv` by default). @@ -242,7 +242,7 @@ def summarize( Columns in pipeline tables can also be sliced and aggregated prior to summarization. This preprocessing is configured in `summarize.yaml`. - Outputs a seperate csv summary file for each expression; + Outputs a separate csv summary file for each expression; outputs starting with '_' are saved as temporary local variables. """ diff --git a/activitysim/abm/models/vehicle_allocation.py b/activitysim/abm/models/vehicle_allocation.py index 8dfb35bfd..a84dfaabf 100644 --- a/activitysim/abm/models/vehicle_allocation.py +++ b/activitysim/abm/models/vehicle_allocation.py @@ -87,7 +87,7 @@ def get_skim_dict(network_los: los.Network_LOS, choosers: pd.DataFrame): class VehicleAllocationSettings(LogitComponentSettings, extra="forbid"): """ - Settings for the `joint_tour_scheduling` component. + Settings for the `vehicle_allocation` component. """ preprocessor: PreprocessorSettings | None = None diff --git a/activitysim/core/util.py b/activitysim/core/util.py index 940796e4b..0db1e4dde 100644 --- a/activitysim/core/util.py +++ b/activitysim/core/util.py @@ -74,7 +74,9 @@ def delete_files(file_list, trace_label): logger.debug(f"{trace_label} deleting {file_path}") os.unlink(file_path) except Exception as e: - logger.warning(f"{trace_label} exception (e) trying to delete {file_path}") + logger.warning( + f"{trace_label} exception ({e}) trying to delete {file_path}" + ) def df_size(df):