Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions tiotools/tiologparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ def main():
[print(f"- {route}") for route in routes]

if args.separate:
exit
stop
exit(0)

# Remove routes that don't have valid start times
for idx,route in enumerate(list(routes)): # copy the routes
Expand All @@ -165,8 +164,6 @@ def main():
tempfiles.pop(route)
tempfilenames.pop(route)
sensors.pop(route)
datarates.pop(route)
finaltimes.pop(route)
routes.remove(route)


Expand Down Expand Up @@ -243,7 +240,7 @@ def main():
time = float(linesegment.split('\t')[0])
except:
break
while time <= firsttime:
while time < firsttime:
linesegment = fd.readline()
try:
time = float(linesegment.split('\t')[0])
Expand Down