Skip to content

Commit

Permalink
fixed bug in tabix
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesgregory committed Jun 8, 2021
1 parent 348de94 commit bb0f95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dhtslib/tabix.d
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ struct TabixIndexedFile {
{
this.tbx = tbx;

this.itr = tbx_itr_queryi(tbx.tbx, tbx_name2id(tbx.tbx, toStringz(region.chrom)), cast(int) region.coords.start, cast(int) region.coords.end);
this.itr = tbx_itr_queryi(tbx.tbx, tbx_name2id(tbx.tbx, toStringz(region.chrom)), region.coords.start, region.coords.end);
debug(dhtslib_debug) { writeln("Region ctor // this.itr: ", this.itr); }
if (this.itr) {
// Load the first record
Expand Down

0 comments on commit bb0f95b

Please sign in to comment.