Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored Apr 2, 2022
1 parent 5451fd1 commit a868ab7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_expectation_maximization.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_grid_SO3_uniform(test_ir, n_particles):
def test_generate_xy_plane(test_ir, n_pix):
"""Test generation of xy plane."""
xy_plane = test_ir.generate_xy_plane(n_pix)
assert xy_plane.shape == (n_pix ** 2, 3)
assert xy_plane.shape == (n_pix**2, 3)


def test_generate_slices(test_ir, n_particles, n_pix):
Expand All @@ -101,9 +101,9 @@ def test_generate_slices(test_ir, n_particles, n_pix):

slices, xyz_rotated = test_ir.generate_slices(map_3d, xy_plane, n_pix, rots)

assert xy_plane.shape == (n_pix ** 2, 3)
assert xy_plane.shape == (n_pix**2, 3)
assert slices.shape == (n_particles, n_pix, n_pix)
assert xyz_rotated.shape == (n_pix ** 2, 3)
assert xyz_rotated.shape == (n_pix**2, 3)


def test_apply_ctf_to_slice(test_ir, n_pix):
Expand Down

0 comments on commit a868ab7

Please sign in to comment.