Skip to content
Snippets Groups Projects
Commit 9c179d79 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Update w2 values in the test and limit the compared precision

parent 3eae508d
No related branches found
No related tags found
No related merge requests found
Pipeline #17060 passed with warnings
......@@ -76,8 +76,7 @@ class TestGiBUUOutput(unittest.TestCase):
def test_w2weights(self):
w2 = self.output.w2weights(123.0, 2.6e28, 4 * np.pi)
np.testing.assert_array_almost_equal(
w2[:3], [7.63360911e+01, 3.60997502e-01, 1.13273189e+03])
w2[:3], [7.64011311e+01, 3.61305080e-01, 1.13369700e+03], decimal=5)
@pytest.mark.skipif(not KM3NET_LIB_AVAILABLE,
reason="KM3NeT dataformat required")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment