Skip to content

Commit e6b2edb

Browse files
committed
removing tests and examples
1 parent 9ade3c0 commit e6b2edb

File tree

242 files changed

+12
-790865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+12
-790865
lines changed

.github/workflows/core_tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,7 @@ jobs:
142142
region:
143143
- prototype_mtc
144144
- placeholder_psrc
145-
- prototype_marin
146145
- prototype_mtc_extended
147-
- prototype_sandag_xborder
148146
- production_semcog
149147
- prototype_mwcog
150148
- placeholder_multiple_zone

activitysim/abm/models/trip_matrices.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,13 @@ def write_trip_matrices(
6262
then aggregates trip counts and writes OD matrices to OMX. Save annotated
6363
trips table to pipeline if desired.
6464
65-
Writes taz trip tables for one and two zone system. Writes taz and tap
66-
trip tables for three zone system. Add ``is_tap:True`` to the settings file
67-
to identify an output matrix as tap level trips as opposed to taz level trips.
65+
Writes taz trip tables for one and two zone system. Add ``is_tap:True`` to
66+
the settings file to identify an output matrix as tap level trips as opposed
67+
to taz level trips.
6868
6969
For one zone system, uses the land use table for the set of possible tazs.
70-
For two zone system, uses the taz skim zone names for the set of possible tazs.
71-
For three zone system, uses the taz skim zone names for the set of possible tazs
72-
and uses the tap skim zone names for the set of possible taps.
73-
70+
For two zone system, uses the taz skim zone names for the set of possible
71+
tazs.
7472
"""
7573

7674
if trips is None:

activitysim/core/flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def new_flow(
518518
zone_layer : {'taz', 'maz'}, default 'taz'
519519
Specify which zone layer of the skims is to be used. You cannot use the
520520
'maz' zone layer in a one-zone model, but you can use the 'taz' layer in
521-
a two- or three-zone model (e.g. for destination pre-sampling).
521+
a two-zone model (e.g. for destination pre-sampling).
522522
aux_vars : Mapping
523523
Extra values that are available to expressions and which are written
524524
only by reference into compiled code (and thus can be changed later).
@@ -789,7 +789,7 @@ def apply_flow(
789789
zone_layer : {'taz', 'maz'}, default 'taz'
790790
Specify which zone layer of the skims is to be used. You cannot use the
791791
'maz' zone layer in a one-zone model, but you can use the 'taz' layer in
792-
a two- or three-zone model (e.g. for destination pre-sampling).
792+
a two-zone model (e.g. for destination pre-sampling).
793793
compute_settings : ComputeSettings, optional
794794
Settings for the sharrow flow, including for skipping and fastmath.
795795

activitysim/core/interaction_sample.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _interaction_sample(
181181
zone_layer : {'taz', 'maz'}, default 'taz'
182182
Specify which zone layer of the skims is to be used. You cannot use the
183183
'maz' zone layer in a one-zone model, but you can use the 'taz' layer in
184-
a two- or three-zone model (e.g. for destination pre-sampling).
184+
a two-zone model (e.g. for destination pre-sampling).
185185
186186
compute_settings : ComputeSettings, optional
187187
Settings to use if compiling with sharrow
@@ -643,7 +643,7 @@ def interaction_sample(
643643
zone_layer : {'taz', 'maz'}, default 'taz'
644644
Specify which zone layer of the skims is to be used. You cannot use the
645645
'maz' zone layer in a one-zone model, but you can use the 'taz' layer in
646-
a two- or three-zone model (e.g. for destination pre-sampling).
646+
a two-zone model (e.g. for destination pre-sampling).
647647
explicit_chunk_size : float, optional
648648
If > 0, specifies the chunk size to use when chunking the interaction
649649
simulation. If < 1, specifies the fraction of the total number of choosers.

activitysim/core/interaction_simulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def eval_interaction_utilities(
7373
zone_layer : {'taz', 'maz'}, default 'taz'
7474
Specify which zone layer of the skims is to be used. You cannot use the
7575
'maz' zone layer in a one-zone model, but you can use the 'taz' layer in
76-
a two- or three-zone model (e.g. for destination pre-sampling).
76+
a two-zone model (e.g. for destination pre-sampling).
7777
7878
Returns
7979
-------

activitysim/core/skim_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,14 +603,14 @@ def load_sparse_maz_skims(
603603
dataset : xarray.Dataset
604604
The existing dataset at TAZ resolution only.
605605
land_use_index : pandas.Index
606-
The index of the land use table. For two and three zone systems,
606+
The index of the land use table. For two zone systems,
607607
these index values should be MAZ identifiers.
608608
remapper : dict, optional
609609
A dictionary mapping where the keys are the original (nominal) zone
610610
id's, and the values are the recoded (typically zero-based contiguous)
611611
zone id's. Recoding improves runtime efficiency.
612612
zone_system : int
613-
Currently 1, 2 and 3 are supported.
613+
Currently 1 and 2 are supported.
614614
maz2taz_file_name : str
615615
maz_to_maz_tables : Collection[]
616616
max_blend_distance : optional

activitysim/core/test/test_los.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -133,30 +133,6 @@ def test_two_zone():
133133
pdt.assert_series_equal(skims["DIST"], dist)
134134

135135

136-
def test_three_zone():
137-
state = add_canonical_dirs("configs_3z").load_settings()
138-
139-
network_los = los.Network_LOS(state)
140-
141-
assert network_los.setting("zone_system") == los.THREE_ZONE
142-
143-
assert "z3_taz_skims.omx" in network_los.omx_file_names("taz")
144-
145-
assert network_los.blend_distance_skim_name == "DIST"
146-
147-
network_los.load_data()
148-
149-
od_df = pd.DataFrame(
150-
{
151-
"orig": [1000, 2000, 23000, 23000, 23000],
152-
"dest": [2000, 2000, 20000, 21000, 22000],
153-
}
154-
)
155-
156-
dist = network_los.get_mazpairs(od_df.orig, od_df.dest, "DIST").astype(np.float32)
157-
np.testing.assert_almost_equal(dist, [0.24, 0.14, 2.55, 1.9, 0.62])
158-
159-
160136
def test_30_minute_windows():
161137
state = add_canonical_dirs("configs_test_misc").default_settings()
162138
network_los = los.Network_LOS(state, los_settings_file_name="settings_30_min.yaml")

0 commit comments

Comments
 (0)