Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraporta committed Dec 9, 2024
1 parent 7097c74 commit 4e855e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_integration/test_rotation_out_of_plane.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def rotate_image_stack(


@pytest.mark.parametrize(
"plane_angle,expected_orientation",
"plane_angle,exp_orientation",
[
(0, None),
(15, None),
Expand All @@ -86,9 +86,9 @@ def test_max_projection(
and verify orientation and major/minor axes are close to expected values:
- if plane_angle is 0, the major and minor axes should be close to each
other;
- if expected_orientation is not None, the orientation should be close to
- if exp_orientation is not None, the orientation should be close to
it.
- if expected_orientation is None, the orientation should be close to 0.
- if exp_orientation is None, the orientation should be close to 0.
Giving by default an allowed tolerance of 15 degrees as I care about
the test tracking the general shape of the ellipse, not the exact values.
Expand Down

0 comments on commit 4e855e8

Please sign in to comment.