Skip to content

Commit bad8b54

Browse files
authored
Merge pull request #1777 from daviesrob/tsv_convert
Fix tsv convert bug
2 parents 6c1b01b + a508dc3 commit bad8b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vcfconvert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ static void gensample_to_vcf(args_t *args)
426426
if ( args->gen_3N6 )
427427
{
428428
tsv = tsv_init("CHROM,CHROM_POS_REF_ALT,ID,POS,REF_ALT,GT_GP");
429-
tsv_register(tsv, "CHROM", tsv_setter_chrom, args);
429+
tsv_register(tsv, "CHROM", tsv_setter_chrom, args->header);
430430
}
431431
else
432432
tsv = tsv_init("CHROM_POS_REF_ALT,ID,POS,REF_ALT,GT_GP");

0 commit comments

Comments
 (0)