Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 21, 2024
1 parent c36237a commit e27a323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_set_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_intersect():
assert all(np.equal(res.start, [-2, 6, 14]))
assert all(np.equal(res.width, [5, 3, 4]))


def test_intersect_ncls():
x = IRanges([1, 5, -2, 0, 14], [10, 5, 6, 12, 4])
y = IRanges([14, 0, -5, 6, 18], [7, 3, 8, 3, 3])
Expand All @@ -47,4 +48,4 @@ def test_intersect_ncls():

res = y.intersect_ncls(x)
assert all(np.equal(res.start, [-2, 6, 14]))
assert all(np.equal(res.width, [5, 3, 4]))
assert all(np.equal(res.width, [5, 3, 4]))

0 comments on commit e27a323

Please sign in to comment.