Skip to content

Commit

Permalink
adapt test
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraFuhrmann committed Apr 25, 2024
1 parent 5ad106e commit e429bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_tiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion viloca/tiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e429bd0

Please sign in to comment.