From c795eef4a2250571391f45930952c57da1e119e6 Mon Sep 17 00:00:00 2001 From: Jamie Cook Date: Mon, 28 Sep 2020 15:29:56 +1000 Subject: [PATCH] new versions of toolz dont seem to have a compatibility component, but zip is part of the standard --- activitysim/core/orca.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activitysim/core/orca.py b/activitysim/core/orca.py index dca8c59da..eae4c5e78 100644 --- a/activitysim/core/orca.py +++ b/activitysim/core/orca.py @@ -982,8 +982,8 @@ def _collect_variables(names, expressions=None): expressions = [] offset = len(names) - len(expressions) labels_map = dict(tz.concatv( - tz.compatibility.zip(names[:offset], names[:offset]), - tz.compatibility.zip(names[offset:], expressions))) + zip(names[:offset], names[:offset]), + zip(names[offset:], expressions))) all_variables = tz.merge(_INJECTABLES, _TABLES) variables = {}