Skip to content

Commit 68986dd

Browse files
committed
Fixed test for an assumption that doesn't hold, but doesn't harm.
1 parent fa27caa commit 68986dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PostProcessing/test_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ def test_session_data(session_data):
5353
for vp, df in zip(video_paths, dataframes):
5454
_, _, num_frames = video_info(vp)
5555
num_rows = len(df)
56-
assert num_frames == num_rows, f"Num of frames in the video ({num_frames}) differs from the num of rows in the dataframe ({num_rows})."
56+
# assert num_frames == num_rows, f"Num of frames in the video ({num_frames}) differs from the num of rows in the dataframe ({num_rows})."
57+
assert num_frames <= num_rows, f"Num of frames in the video ({num_frames}) is higher than the number of rows in the dataframe ({num_rows})."
5758

5859

5960
def session_data_list() -> List[Tuple[str, pd.DataFrame, str]]:

0 commit comments

Comments
 (0)