Skip to content

Commit

Permalink
bug: fix max_cpy variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorrison committed Jun 17, 2024
1 parent 24501cf commit ea7fc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsconv.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int bsconv_func(bam1_t *b, samFile *out, bam_hdr_t *hdr, void *data) {
retn[nt256char_to_nt256int8_table['T']] > conf->max_cph) tofilter = 1;
if (conf->max_cpy >= 0 &&
retn[nt256char_to_nt256int8_table['C']] +
retn[nt256char_to_nt256int8_table['T']] > conf->max_cph) tofilter = 1;
retn[nt256char_to_nt256int8_table['T']] > conf->max_cpy) tofilter = 1;

if (conf->max_cph_frac < 1.0) {
int cph_retn = retn[nt256char_to_nt256int8_table['A']] +
Expand Down

0 comments on commit ea7fc2a

Please sign in to comment.