Skip to content

Commit

Permalink
Delete accidental line copy
Browse files Browse the repository at this point in the history
  • Loading branch information
nspope committed Apr 5, 2024
1 parent 15fca84 commit c323de2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/tskit/trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -9365,8 +9365,6 @@ def pair_coalescence_counts(
raise ValueError("Windows must be an array of breakpoints")

Check warning on line 9365 in python/tskit/trees.py

View check run for this annotation

Codecov / codecov/patch

python/tskit/trees.py#L9365

Added line #L9365 was not covered by tests
if not (windows[0] == 0.0 and windows[-1] == self.sequence_length):
raise ValueError("First and last window breaks must be sequence boundary")

Check warning on line 9367 in python/tskit/trees.py

View check run for this annotation

Codecov / codecov/patch

python/tskit/trees.py#L9367

Added line #L9367 was not covered by tests
if not (windows[0] == 0.0 and windows[-1] == self.sequence_length):
raise ValueError("First and last window breaks must be sequence boundary")
if not np.all(np.diff(windows) > 0):
raise ValueError("Window breaks must be strictly increasing")

Check warning on line 9369 in python/tskit/trees.py

View check run for this annotation

Codecov / codecov/patch

python/tskit/trees.py#L9369

Added line #L9369 was not covered by tests

Expand Down

0 comments on commit c323de2

Please sign in to comment.