diff --git a/tests/test_tiling.py b/tests/test_tiling.py index 89e38fc..af40ced 100644 --- a/tests/test_tiling.py +++ b/tests/test_tiling.py @@ -26,7 +26,7 @@ def test_equispaced_use_full_reference_as_region(): assert actual[0][0] == 1 assert actual[0][1] == 201 - assert actual[-1][0] == 2949 #2748 (old number where last windows where excluded) + assert actual[-1][0] == 2748 #2949 #2748 (old number where last windows where excluded) #assert actual[-1][0] + 201 < 3000 diff --git a/viloca/tiling.py b/viloca/tiling.py index 9c2518e..30fd56f 100644 --- a/viloca/tiling.py +++ b/viloca/tiling.py @@ -119,7 +119,7 @@ def get_window_tilings(self) -> List[Tuple[int, int]]: # add one more window at the end if self.exact_conformance_overlap_at_boundary == True: window_positions.append(window_positions[-1] + self.incr) - + return [(i, self.window_length) for i in window_positions] def get_reference_name(self):