Skip to content

wrong stdin check for -2 option #102

@zsalvet

Description

@zsalvet

seqkit sample -2 ... returns error
"two-pass mode (-2) will failed when reading from stdin. please disable flag: -2"
when stdin is not a character device (e.g. pipe) regardless whether input is going
to be read from stdin actually or not. Type of stdin file descriptor should be of no consequence here,
you had better check if number of input records differs between passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions