c-proof / pyglider

glider software
https://pyglider.readthedocs.io/
Apache License 2.0
17 stars 24 forks source link

Update for modified dbdreader api #157

Closed smerckel closed 1 year ago

smerckel commented 1 year ago

The return values of the get* methods of dbdreader's classes DBD and MultiDBD have been made consistent across the methods by returning tuples of time and value vectors. The existing code of the function binary_to_timeseries() got broken because of this, as it relies on the pop method of the return value, which tuples don't have. Converting the tuple into a list solves the issue.