Skip to content

Commit

Permalink
Updates to be black compliant.
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Mar 25, 2024
1 parent cc7a55c commit 6773961
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions opencsp/app/sofast/test/test_DisplayShape.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def test_save_load_hdf_dist_3d(self):
self.assertEqual(disp.grid_data['screen_model'], disp_load.grid_data['screen_model'])
self.assertEqual(disp.name, disp_load.name)
np.testing.assert_equal(
disp.grid_data['xy_screen_fraction'].data, disp_load.grid_data['xy_screen_fraction'].data)
disp.grid_data['xy_screen_fraction'].data, disp_load.grid_data['xy_screen_fraction'].data
)
np.testing.assert_equal(disp.grid_data['xyz_screen_coords'].data, disp_load.grid_data['xyz_screen_coords'].data)

def test_save_load_hdf_dist_2d(self):
Expand All @@ -132,7 +133,8 @@ def test_save_load_hdf_dist_2d(self):
self.assertEqual(disp.grid_data['screen_model'], disp_load.grid_data['screen_model'])
self.assertEqual(disp.name, disp_load.name)
np.testing.assert_equal(
disp.grid_data['xy_screen_fraction'].data, disp_load.grid_data['xy_screen_fraction'].data)
disp.grid_data['xy_screen_fraction'].data, disp_load.grid_data['xy_screen_fraction'].data
)
np.testing.assert_equal(disp.grid_data['xy_screen_coords'].data, disp_load.grid_data['xy_screen_coords'].data)

def test_save_load_hdf_rectangular(self):
Expand Down

0 comments on commit 6773961

Please sign in to comment.