-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Panic on trailing omitted FORMAT records (#417)
* Handle trailing omitted FORMAT records * Remove newline * fix: Wrong if statement * fmt --------- Co-authored-by: Fenner Macrae <[email protected]> Co-authored-by: Johannes Koester <[email protected]>
- Loading branch information
1 parent
b6aeba4
commit 9f575ee
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
##fileformat=VCFv4.3 | ||
##contig=<ID=chr1,length=10000> | ||
##INFO=<ID=FOO,Number=1,Type=Integer,Description="Some field"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##FORMAT=<ID=STR,Number=1,Type=String,Description="Some string field"> | ||
##FORMAT=<ID=INT,Number=1,Type=Integer,Description="Some integer field"> | ||
##FORMAT=<ID=FLT,Number=1,Type=Float,Description="Some float field"> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE1 | ||
chr1 1234 . t a . . FOO=1 GT:STR:FLT:INT . |