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

Add bitmask to mask bits outside of specified data range #22

Closed xiamaz closed 4 years ago

xiamaz commented 4 years ago

This masks off bits outside the $PnR specified range for integer data types. This supports both mixed and single type data.

This fixes #19.

eyurtsev commented 4 years ago

Hello thank you for the PR! Would you be able to add an FCS file with a test case for this?

xiamaz commented 4 years ago

I have added a test file that contains some fake data demonstrating the issue.

eyurtsev commented 4 years ago

Change merged and included with version 0.2.1 of the parser (available on pypi)