Skip to content

Commit 6fa1486

Browse files
committed
modify tests to support emme strategy analysis and congestion time matrices
1 parent b5fc9aa commit 6fa1486

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Scripts/assignment/emme_bindings/mock_project.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ def matrix_results(self, *args, **kwargs):
352352
def network_results(self, *args, **kwargs):
353353
pass
354354

355+
def strategy_analysis(self, *args, **kwargs):
356+
pass
357+
355358

356359
Modeller = namedtuple("Modeller", "emmebank")
357360

Scripts/assignment/mock_assignment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def assign(self,
9191
mtx[ass_class] = matrices[ass_class]
9292
log.info("Saved demand matrices for " + str(self.name))
9393
mtxs = {mtx_type: self._get_matrices(mtx_type)
94-
for mtx_type in ("time", "cost", "dist")}
94+
for mtx_type in ("time", "cost", "dist", "congest_time")}
9595
for ass_cl in ("transit_work", "transit_leisure"):
9696
mtxs["time"][ass_cl] = mtxs["time"]["transit_uncongested"]
9797
if iteration != "last":

0 commit comments

Comments
 (0)