Skip to content

Commit 8aeab17

Browse files
committed
blacken
1 parent e6b2edb commit 8aeab17

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

activitysim/abm/models/trip_matrices.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
)

activitysim/core/los.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)