project8 / monarch

Data File Library for the Project 8 Collaboration
Other
3 stars 1 forks source link

M3ReadTest expectations don't match behavior of M3Stream at new Acquisition #32

Open nsoblath opened 3 years ago

nsoblath commented 3 years ago

in M3Stream, if we read a new record with a non-zero offset, and cross into a new acquisition, the record is reset to the first record in the acquisition.

On the other hand, M3ReadTest has a test where it skips forward two records and expects to be at the second record in the second acquisition. Due to the behavior of M3Stream, though, it resets itself to the first record in the second acquisition. and the test fails.