hdf5 handler should include the end-date

This commit is contained in:
Matthias 2021-04-24 20:26:37 +02:00
parent cb86c90d3e
commit e855530483
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class HDF5DataHandler(IDataHandler):
if timerange.starttype == 'date':
where.append(f"date >= Timestamp({timerange.startts * 1e9})")
if timerange.stoptype == 'date':
where.append(f"date < Timestamp({timerange.stopts * 1e9})")
where.append(f"date <= Timestamp({timerange.stopts * 1e9})")
pairdata = pd.read_hdf(filename, key=key, mode="r", where=where)