eyurtsev / fcsparser

A python parser for reading fcs files supporting FCS 2.0, 3.0, 3.1
MIT License
74 stars 45 forks source link

fix for FCS files with multiple datasets #41

Closed bpteague closed 1 year ago

bpteague commented 2 years ago

A quick fix for FCS files that have multiple datasets. I double-checked the FCS 3.1 standard, and $NEXTDATA gives the offset from the beginning of the current dataset to the beginning of the next one (in bytes.) We can implement this behavior by turning nextdata_offset into an accumulator, as I've done here.

I also added a quick smoke test with the file that @photocyte provided.

eyurtsev commented 1 year ago

Resolved here: https://github.com/eyurtsev/fcsparser/pull/43