From 27835d8a94686640326d9811f7dda5543c2f2672 Mon Sep 17 00:00:00 2001 From: Kyle Ward Date: Thu, 29 May 2025 16:01:48 -0400 Subject: [PATCH 1/3] Fix typos in summarize docstring --- activitysim/abm/models/summarize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activitysim/abm/models/summarize.py b/activitysim/abm/models/summarize.py index e842393fda..d613b56373 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. """ From b04002dc9ec2cbf1225eb83353f69ef910e8e0b5 Mon Sep 17 00:00:00 2001 From: Kyle Ward Date: Thu, 29 May 2025 16:05:07 -0400 Subject: [PATCH 2/3] Fix log message in util.delete_files --- activitysim/core/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/activitysim/core/util.py b/activitysim/core/util.py index 940796e4bd..0db1e4dde5 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): From 18741523dfa570a2bc4357db205e89b3eb60d737 Mon Sep 17 00:00:00 2001 From: Kyle Ward Date: Thu, 29 May 2025 16:06:09 -0400 Subject: [PATCH 3/3] Fix docstring for VehicleAllocationSettings --- activitysim/abm/models/vehicle_allocation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitysim/abm/models/vehicle_allocation.py b/activitysim/abm/models/vehicle_allocation.py index 8dfb35bfd4..a84dfaabf9 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