Skip to content

Missing bam/cram file should return an error code #57

@patbohn

Description

@patbohn

Hi, when running perbase base-depth with an incorrect BAM/CRAM path, even though stderr reports thread '<unnamed>' panicked at 'Indexed BAM/CRAM: FileNotFound [...] perbase/src/lib/par_granges.rs:159:72, it seems that no error code was returned (i.e. it apparently returned 0). This can be an issue when using pipeline or workload managers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions