Skip to content

Commit 4966a73

Browse files
committed
Merge last fix into a new version of the same test, which has been moved & renamed.
1 parent a1e323b commit 4966a73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

geminidr/core/tests/test_telluric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,5 +242,5 @@ def test_get_airglow_linelist(path_to_inputs, path_to_refs):
242242
ref_refplot_spec_f2 = np.loadtxt(
243243
os.path.join(path_to_refs, "S20180114S0104_refplot_spec.dat"))
244244

245-
np.testing.assert_allclose(ref_refplot_spec_f2, refplot_data_f2["refplot_spec"], atol=1e-3)
246-
245+
np.testing.assert_allclose(ref_refplot_spec_f2[:, 0], refplot_data_f2["refplot_spec"][:, 0], atol=1e-3)
246+
np.testing.assert_allclose(ref_refplot_spec_f2[:, 1], refplot_data_f2["refplot_spec"][:, 1], atol=0.25) # max numerical diff in flux with numpy 2

0 commit comments

Comments
 (0)