Skip to content

fix: correctly fix output format detection and bail - #197

Merged
noamteyssier merged 2 commits into
dev-0.5.11from
fix/graceful-error-on-bam-output
Jul 20, 2026
Merged

fix: correctly fix output format detection and bail#197
noamteyssier merged 2 commits into
dev-0.5.11from
fix/graceful-error-on-bam-output

Conversation

@noamteyssier

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the format method in src/cli/output.rs to simplify how the file format is determined and explicitly disallows BAM output with a descriptive error message. The reviewer suggested improving the error handling when file format inference fails by including the output path in the error message to aid in debugging.

Comment thread src/cli/output.rs
@noamteyssier
noamteyssier merged commit c66e6e4 into dev-0.5.11 Jul 20, 2026
8 checks passed
@noamteyssier
noamteyssier deleted the fix/graceful-error-on-bam-output branch July 20, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant