Skip to content

Commit

Permalink
Fixed black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Mar 25, 2024
1 parent 83ff822 commit bc2e4d8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions opencsp/app/sofast/test/test_ProcessSofastFixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ def setUpClass(cls):

lt.logger(join(cls.save_dir, 'sofast_fixed_process_log.txt'), lt.log.ERROR)

surface = Surface2DParabolic(
initial_focal_lengths_xy=(150.0, 150),
robust_least_squares=False,
downsample=1,
)
surface = Surface2DParabolic(initial_focal_lengths_xy=(150.0, 150), robust_least_squares=False, downsample=1)

# Load data
camera = Camera.load_from_hdf(file_camera)
Expand Down Expand Up @@ -82,8 +78,9 @@ def test_save_figure(self):

def test_slopes_xy(self):
"""Tests slope data"""
np.testing.assert_allclose(self.process_sofast_fixed.data_slope_solver.slopes_facet_xy,
self.exp_slopes_xy, rtol=0, atol=1e-6)
np.testing.assert_allclose(
self.process_sofast_fixed.data_slope_solver.slopes_facet_xy, self.exp_slopes_xy, rtol=0, atol=1e-6
)


if __name__ == '__main__':
Expand Down

0 comments on commit bc2e4d8

Please sign in to comment.