lspestrip / striptease

Strip TEst Analysis for System Evaluation
MIT License
4 stars 3 forks source link

Class DataStorage returns wrong tags #77

Closed ziotom78 closed 2 years ago

ziotom78 commented 2 years ago

The following code should retrieve the list of tags stored in the SQLite3 database, but the fields in each Tag entry are scrambled:

ds = DataStorage("/storage/test_data")
ds.get_tags((50000, 60000))

The result is the following:

[
    Tag(
        id=504107,
        mjd_start='ref4_set_pol_V0_phsw_STATE1', 
        mjd_end=59558.53468472068, 
        name=59558.53472586846, 
        start_comment='', 
        end_comment=''),
    …
]