# HG changeset patch # User Nicolas Saunier # Date 1641831277 18000 # Node ID 35725db5e83f6d4bba72d8793def2125e09e534f # Parent 2f89dc3d99e5f31ec9d5f92d289eb1b1bb4bf5c0 naming changed for framework diff -r 2f89dc3d99e5 -r 35725db5e83f trafficintelligence/iframework.py --- a/trafficintelligence/iframework.py Fri Dec 17 14:26:45 2021 -0500 +++ b/trafficintelligence/iframework.py Mon Jan 10 11:14:37 2022 -0500 @@ -167,7 +167,7 @@ class AbstractCrossing: def initPersonGroupCrossing(self, group, person, modeName, vehicle): - ''' initiates with the passing the group or person + ''' initiates with the crossing the group or person design question: what should be done about simple line counting, without information about persons''' @@ -180,10 +180,10 @@ if modeName is not None: Mode(modeName, person, vehicle) else: - print('Warning: passing person and group or both None') + print('Warning: crossing person and group or both None') class LineCrossing(AbstractCrossing,Base): - __tablename__ = 'linepassings' + __tablename__ = 'linecrossings' # formerly 'linepassings' idx = Column(Integer, primary_key=True) lineIdx = Column(Integer, ForeignKey('lines.idx')) groupIdx = Column(Integer, ForeignKey('groups.idx'))