From fb3fabc5af69eb48875f1afbaf83126834b5a5f4 Mon Sep 17 00:00:00 2001 From: Lachlan Perrier Date: Wed, 4 Sep 2024 11:55:51 -0400 Subject: [PATCH] updated final comments --- lasso/emme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lasso/emme.py b/lasso/emme.py index 8f64aed..19c2a8b 100644 --- a/lasso/emme.py +++ b/lasso/emme.py @@ -422,8 +422,8 @@ def prepare_table_for_drive_network( ranch_base_dir=ranch_dir, ) - links_df = links_df[links_df["cntype"] != "MAZ"] - ranch_roadway = ranch.Roadway(nodes_df, links_df.drop(columns=["index_left", "index_right"], errors="ignore"), shapes_df, ranch_params) + drive_links_df = drive_links_df[drive_links_df["cntype"] != "MAZ"] + ranch_roadway = ranch.Roadway(nodes_df, drive_links_df.drop(columns=["index_left", "index_right"], errors="ignore"), shapes_df, ranch_params) buid_taz_node_id ranch_roadway.build_centroid_connectors(build_taz_active_modes=True, build_maz_drive=True, input_taz_polygon_file=taz_zone_shapefile_path,