We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e323b commit 4966a73Copy full SHA for 4966a73
1 file changed
geminidr/core/tests/test_telluric.py
@@ -242,5 +242,5 @@ def test_get_airglow_linelist(path_to_inputs, path_to_refs):
242
ref_refplot_spec_f2 = np.loadtxt(
243
os.path.join(path_to_refs, "S20180114S0104_refplot_spec.dat"))
244
245
- np.testing.assert_allclose(ref_refplot_spec_f2, refplot_data_f2["refplot_spec"], atol=1e-3)
246
-
+ np.testing.assert_allclose(ref_refplot_spec_f2[:, 0], refplot_data_f2["refplot_spec"][:, 0], atol=1e-3)
+ 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