Skip to content

Commit 86b4ffe

Browse files
committed
Fix usage of htslib vcf_parse(): don't end lines with \n
1 parent f354a22 commit 86b4ffe

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/basic/aligned_call.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ static void print_vcf_entry(size_t vcf_pos, int8_t prev_base, int8_t next_base,
134134
strbuf_append_char(sbuf, gts[i] ? '1' : '.');
135135
}
136136

137-
strbuf_append_char(sbuf, '\n');
138-
139137
// fprintf(stderr, " prev_base:%i next_base:%i info:%s\n", prev_base, next_base, call->info.b);
140138
// fprintf(stderr, "%s [%zu vs %zu]\n", sbuf->b, sbuf->end, strlen(sbuf->b));
141139

0 commit comments

Comments
 (0)