Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions activitysim/abm/models/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@ 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).

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.
"""

Expand Down
2 changes: 1 addition & 1 deletion activitysim/abm/models/vehicle_allocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion activitysim/core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading