Skip to content

Commit

Permalink
Update mtc.py
Browse files Browse the repository at this point in the history
Revert changes that copies N field to model_node_id field.
  • Loading branch information
jawadmhoque committed Mar 12, 2024
1 parent 96a9961 commit d4d91b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lasso/mtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1754,8 +1754,8 @@ def roadway_standard_to_mtc_network(
roadway_network.nodes_mtc_df["pnr"] = np.where(roadway_network.nodes_mtc_df['pnr']==0, '0.0', '1.0')

# CUBE expect node id to be N
# roadway_network.nodes_mtc_df.rename(columns={"model_node_id": "N"}, inplace=True)
roadway_network.nodes_mtc_df['model_node_id']=roadway_network.nodes_mtc_df['N']
roadway_network.nodes_mtc_df.rename(columns={"model_node_id": "N"}, inplace=True)
# roadway_network.nodes_mtc_df['model_node_id']=roadway_network.nodes_mtc_df['N']

return roadway_network

Expand Down

0 comments on commit d4d91b1

Please sign in to comment.