Skip to content

Commit 7f99d15

Browse files
committed
Add reference to 'Take contigs into account for fixed-size windowing' https://github.com/pystatgen/sgkit/issues/335
1 parent 3773658 commit 7f99d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sgkit/window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _get_windows(
7070
start: int, stop: int, size: int, step: int
7171
) -> Tuple[ArrayLike, ArrayLike]:
7272
# Find the indexes for the start positions of all windows
73-
# TODO: take contigs into account
73+
# TODO: take contigs into account https://github.com/pystatgen/sgkit/issues/335
7474
window_starts = np.arange(start, stop, step)
7575
window_stops = np.clip(window_starts + size, start, stop)
7676
return window_starts, window_stops

0 commit comments

Comments
 (0)