Commit b78fd61b authored by Georgios Dagkakis's avatar Georgios Dagkakis

collapse concecutive records in the same station, even if there is idle time

parent cf38a007
......@@ -72,7 +72,6 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
for record in schedule:
for nextRecord in schedule[k+1:]:
if nextRecord['stationId']==record['stationId']\
and nextRecord['entranceTime']==record['exitTime']\
and not record is schedule[-1]:
nextExitTime=nextRecord.get('exitTime',maxSimTime)
record['exitTime']=nextExitTime
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment