anise
anise copied to clipboard
Truncation and removal of DAF data corrupt data (summaries OK)
Bug report
Describe the bug
When using the anise-cli or the API to modify or truncate a given DAF file, the summary byte pointers are probably messed up as the data cannot be reread correctly. The human-relevant summary data looks nominal however.
To Reproduce
The branch assigned to this issue expands on the test_spk_truncate_cheby test to check that the data can be correctly queried. In fact, it cannot be correctly queried.
Expected behavior
I expect the DAF files to be queriable and to match exactly the original data if not removed or truncated away.
Platform
Linux, Rust, not platform relevant.