We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f398d5 commit f45d829Copy full SHA for f45d829
1 file changed
scan/client/data.py
@@ -95,7 +95,7 @@ def getTable(data, *devices, **kwargs):
95
while True:
96
try :
97
cur_id = min((samp[0] for samp in cur_samps if samp is not None)) # find smallest sample ID as current id
98
- cur_time = min((samp[2] for samp in cur_samps if samp is not None)) # find smallest sample time as current id
+ cur_time = max((samp[2] for samp in cur_samps if samp is not None)) # find last time stamp
99
except ValueError: # finished
100
break
101
0 commit comments