Error occur when record's REC_LEN does not match the total length of fields in this record
Open
- Dominant language
- Python
- Stars
- 183
- Forks
- 94
- Avg merge
- 3m
- Merged PRs (30d)
- 2
Description
I have some STDF files that REC_LEN of a record greater than the total length of fields in this record. This would lead to error when parse the first field of next record. After debugging, I found the cause, then I change the function parse_records in IO module like below:
I read the whole bytes stream in this record, then process the parse work just with it, and restore at the end. By applying this, I can walk-around this kind of error.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.