Mercurial Hosting > traffic-intelligence
changeset 1175:35725db5e83f
naming changed for framework
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 10 Jan 2022 11:14:37 -0500 |
parents | 2f89dc3d99e5 |
children | 5874ece33637 |
files | trafficintelligence/iframework.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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'))