Skip to content

Commit

Permalink
Fix usage of htslib vcf_parse(): don't end lines with \n
Browse files Browse the repository at this point in the history
  • Loading branch information
noporpoise committed Mar 20, 2016
1 parent f354a22 commit 86b4ffe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion libs/htslib
2 changes: 0 additions & 2 deletions src/basic/aligned_call.c
Expand Up @@ -134,8 +134,6 @@ static void print_vcf_entry(size_t vcf_pos, int8_t prev_base, int8_t next_base,
strbuf_append_char(sbuf, gts[i] ? '1' : '.');
}

strbuf_append_char(sbuf, '\n');

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

Expand Down

0 comments on commit 86b4ffe

Please sign in to comment.