File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,7 @@ def write_trip_matrices(
210210 trips_df ["origin" ] = trips_df ["true_origin" ]
211211 trips_df ["destination" ] = trips_df ["true_destination" ]
212212 del trips_df ["true_origin" ], trips_df ["true_destination" ]
213- if (
214- network_los .zone_system == los .TWO_ZONE
215- ):
213+ if network_los .zone_system == los .TWO_ZONE :
216214 trips_df ["otaz" ] = (
217215 state .get_table ("land_use" ).reindex (trips_df ["origin" ]).TAZ .tolist ()
218216 )
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ def get_tazs(self, state):
697697
698698 def get_mazs (self ):
699699 # FIXME - should compute on init?
700- assert self .zone_system == TWO_ZONE
700+ assert self .zone_system == TWO_ZONE
701701 mazs = self .maz_taz_df .MAZ .values
702702 assert isinstance (mazs , np .ndarray )
703703 return mazs
You can’t perform that action at this time.
0 commit comments