Commit deba4d8
Fix a regression with -Ou format being the same as -Ob.
Commit 30dbc3c broke the -Ou option when a filename is given. So
`bcftools sort -Ou -o out.bcf in.vcf` is treated as -Ob instead.
Hence this was a regression in functionality that arrived with
bcftools 1.12. The fix is simply to honour Ou vs Ob even when
filenames are specified, and only use the filename suffix when it's
incompatible with the data type specified.
Fixes #22631 parent 37f1600 commit deba4d8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments