Skip to content

Commit

Permalink
fix test bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
talonchandler committed Mar 18, 2024
1 parent 797654f commit eb56c4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_focus_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_focus_estimator(tmp_path):
plot_path = tmp_path.joinpath("test.pdf")
data3D = np.random.random((11, 256, 256))
slice = focus.focus_from_transverse_band(
data3D, ps, lambda_ill, NA_det, plot_path=str(plot_path)
data3D, NA_det, lambda_ill, ps, plot_path=str(plot_path)
)
assert slice >= 0
assert slice <= data3D.shape[0]
Expand Down Expand Up @@ -75,9 +75,9 @@ def test_focus_estimator_snr(tmp_path):
plot_path = tmp_path / f"test-{snr}.pdf"
slice = focus.focus_from_transverse_band(
data,
ps,
lambda_ill,
NA_det,
lambda_ill,
ps,
plot_path=plot_path,
threshold_FWHM=5,
)
Expand Down

0 comments on commit eb56c4d

Please sign in to comment.