Skip to content

Commit

Permalink
still merging
Browse files Browse the repository at this point in the history
  • Loading branch information
vigji committed Nov 12, 2024
1 parent a669338 commit ab62209
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_unit/test_load_poses.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,13 @@ def test_from_numpy_valid(
)
self.assert_dataset(ds, expected_source_software=source_software)


def test_from_multi_view(self):
"""Test that the from_file() function delegates to the correct
loader function according to the source_software.
"""
view_names = ["view_0", "view_1"]
file_path_dict = {
view: POSE_DATA_PATHS.get("DLC_single-wasp.predictions.h5")
view: DATA_PATHS.get("DLC_single-wasp.predictions.h5")
for view in view_names
}

Expand All @@ -318,4 +317,4 @@ def test_from_multi_view(self):

assert isinstance(multi_view_ds, xr.Dataset)
assert "view" in multi_view_ds.dims
assert multi_view_ds.view.values.tolist() == view_names
assert multi_view_ds.view.values.tolist() == view_names

0 comments on commit ab62209

Please sign in to comment.