Skip to content

Explicitly select compression option in the data reduction call. #151

@YooSunYoung

Description

@YooSunYoung

Continued from #146 (comment)

We allow compression of the counts when we write the reduced file.
For now, we're just checking if we have to compress the data or not and pass the boolean to the writing method.

We should allow users to explicitly control the compression option and fail earlier if it's not posisble.
Currently we check if the bitshuffle is available when we write the file, and that's probably too late.

The command line tool already has the compression option as an enum.

TODO:

  • Check if the compression option is valid and available as early as possible
  • Explicitly select the compression option when writing the counts to the file
  • Add a short guide about how to enable bitshuffle or gzip compression and why we do that in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions