Skip to content

Commit

Permalink
Merge pull request #1777 from daviesrob/tsv_convert
Browse files Browse the repository at this point in the history
Fix tsv convert bug
  • Loading branch information
pd3 committed Aug 17, 2022
2 parents 6c1b01b + a508dc3 commit bad8b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcfconvert.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ static void gensample_to_vcf(args_t *args)
if ( args->gen_3N6 )
{
tsv = tsv_init("CHROM,CHROM_POS_REF_ALT,ID,POS,REF_ALT,GT_GP");
tsv_register(tsv, "CHROM", tsv_setter_chrom, args);
tsv_register(tsv, "CHROM", tsv_setter_chrom, args->header);
}
else
tsv = tsv_init("CHROM_POS_REF_ALT,ID,POS,REF_ALT,GT_GP");
Expand Down

0 comments on commit bad8b54

Please sign in to comment.