Recent Releases of flowio

flowio - 1.4.0

  • Adds support for Python 3.13, drops 3.7 & 3.8
  • Added tutorial Jupyter notebook
  • Added FlowData.as_array() method for retrieving events as a 2-D NumPy array with optional preprocessing event data for gain, log scaling, and time scaling (Adds NumPy dependency)
  • Renamed FlowData arg filename_or_handle to fcs_file
  • Added the following FlowData attributes:
    • version: FCS version of the imported file
    • data_type: type of data in DATA segment (ASCII, integer, floating point)
    • pnn_labels: list of names for parameters (required)
    • pns_labels: list of optional names for parameters
    • pnr_values: list of channel range values (required)
    • fluoro_indices: list of indices of fluorescent channels
    • scatter_indices: list of indices of scatter channels
    • time_index: index of the time channel
    • null_channels: list of channel indices not intended for analysis (omitted from fluoro_indices, scatter_indices, and time_index)
  • Make fcs_keywords module public
  • Reduce memory footprint when creating FCS files from events with type array (thanks to @christianrickert for PR #32)
  • Support pathlib.Path when creating FlowData instances (thanks to @Zethson)
  • Support empty "timestep" keyword values (thanks to @ikonsta for PR #33)

- Python
Published by whitews 10 months ago

flowio - 1.3.0

  • Adds official support for Python 3.11 & 3.12
  • Allow creation of FCS files without any events (thanks to @tristan-ranff for PR #26)
  • MAINTENANCE: moved to a 'src' based directory structure using pyproject.toml
  • DOCUMENTATION: moved to RTD doc theme

- Python
Published by whitews almost 2 years ago

flowio - 1.2.1

  • BUGFIX: fixes parsing of FCS files with integer data type where bitmasking is needed to properly retrieve event values greater than the PnR value (thanks to @JcGKitten for PR #24)
  • BUGFIX: fixes issue where file wasn't closed before raising error for multi-dataset FCS files

- Python
Published by whitews almost 3 years ago

flowio - 1.2.0

  • Support added for FCS files with multiple data sets (via '$NEXTDATA' tag). Special thanks to Max (@JcGKitten) for implementing this feature (#23)!

- Python
Published by whitews almost 3 years ago

flowio - 1.1.1

  • BUGFIX: Fixed an issue where FCS files were not being closed when an error occurred while parsing the file.
  • All errors / exceptions raised in FlowData class are now inherited from the FlowIO generic class FlowIOException

- Python
Published by whitews about 3 years ago

flowio - 1.1.0

  • Reduce time to create new FCS files
  • Support additional parameter related FCS keywords when creating new FCS files
  • Error raised when creating FCS files with non-float data type
  • API: Custom exceptions / errors are now thrown. These can be imported via the module flowio.exceptions
  • API: FlowData constructor added ignore_offset_discrepancy option to ignore discrepancy between the HEADER and TEXT values for the DATA byte offset location
  • API: FlowData constructor added use_header_offsets option to use the HEADER section for the data offset locations
  • BUGFIX: Remove invalid $PnE output for float data type (create_fcs still only supports exporting as float)

Special thanks to @zbjornson for PRs #16, #17, #18, #21

- Python
Published by whitews about 3 years ago

flowio - 1.0.1

BUGFIX: Fixes incorrect data offset for some exported FCS files (issue #14)

- Python
Published by whitews almost 4 years ago

flowio - 1.0.0

  • Major reworking of create_fcs function to support writing files with log scale or gain metadata
  • FCS keyword list available via fcs_keywords module
  • Version now accessible via flowio.version
  • BUGFIX: fix incorrect byte offsets in create_fcs when metadata contained 2-byte UTF-8 characters
  • API: FlowData.writefcs no longer takes separate extra & extranon_standard args, unified to new metadata arg
  • API: createfcs arguments simplified, cyt, date, extra, extranon_standard are merged into new metadata arg

- Python
Published by whitews almost 4 years ago

flowio - 0.9.14

BUGFIX: Fixes issue where data offsets were not set correctly when exporting large FCS files (issue #12). Thanks to @andreas-wilm for PR #13. BUGFIX: Export of FCS files would fail in rare cases where the text section byte length would be off due to the length increasing by one digit (leading to incorrect DATA section offset). API: FlowData attribute cur_offset is no longer public (is only used internally in the constructor)

- Python
Published by whitews almost 4 years ago

flowio - 0.9.13

Added optional argument only_text to FlowData constructor to only read the "text" segment of FCS files without loading event data. This allows faster parsing of a large number of files to inspect metadata, and also uses less memory.

Thanks to @JcGKitten for the feature request & implementation (pull request #11)

- Python
Published by whitews about 4 years ago

flowio - 0.9.12

Significantly improves read times for FCS files.

- Python
Published by whitews over 4 years ago

flowio - 0.9.11

This release updates documentation and adds an error when parsing FCS files where the data offset is reported incorrectly. Some FCS files incorrectly report a data offset that is off by 1 byte yet the file is not corrupt. For this case, the new FlowData option ignore_offset_error can be set to True to force reading in these files.

- Python
Published by whitews almost 5 years ago

flowio - 0.9.10

This version drops support for Python 2 (0.9.9 is the last version that is compatible with Python 2).

BUGFIX: fixes issue parsing FCS files with mixed integer bit sizes for events in different channels (issue #9)

ACKNOWLEDGEMENTS:

Thanks again to @matt-faria for reporting the issue and submitting PR #9

- Python
Published by whitews almost 5 years ago

flowio - 0.9.9

BUGFIX: fixes issue where creating FlowData instances from TemporaryFile() would fail on some platforms (see PR #8)

ACKNOWLEDGEMENTS:

  • Thanks to user @matt-faria for reporting the temp file issue and submitting PR #8

- Python
Published by whitews almost 5 years ago

flowio - 0.9.8

  • BUGFIX: Addresses issue where writing a new FCS file can result in mismatched PnN & PnS channel labels (Issue #5)

- Python
Published by whitews over 5 years ago

flowio - 0.9.7

  • Fixes FlowData.write_fcs method (Issue #4)
  • Fixes LMD int datatypes where FCS files specify incorrect byte offset
  • Improve performance when retrieving channel labels
  • Adds unit tests
  • Implement Travis CI for reporting build status
  • Implement CodeCov for reporting test coverage

- Python
Published by whitews over 5 years ago

flowio - 0.9.6

BUGFIX: Fixes issue where some FCS files were not properly parsed (see #3)

- Python
Published by whitews over 5 years ago

flowio -

- Python
Published by whitews over 12 years ago