Commit af1a103
committed
fix: correct off-by-one in virtual contigs region size assertion
The region string format is inclusive on both ends (start and stop),
so region_size should be stop - start + 1, not stop - start.
This caused a flaky assertion failure:
assert 146 <= np.int64(145)1 parent 4165560 commit af1a103
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments