Skip to content

Commit

Permalink
Getting local failures of 3 cases where this varies by <0.0005 deg. N…
Browse files Browse the repository at this point in the history
…ot crucial so give more lee-way to the comparison
  • Loading branch information
e-koch committed Aug 20, 2020
1 parent a7b6281 commit 2b17d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio_beam/tests/test_beams.py
Expand Up @@ -548,8 +548,8 @@ def test_commonbeam_multiple(beams, target_beam):
npt.assert_almost_equal(common_beam.minor.to(u.arcsec).value,
target_beam.minor.value,
decimal=6)
npt.assert_almost_equal(common_beam.pa.to(u.deg).value,
target_beam.pa.value, decimal=6)
npt.assert_allclose(common_beam.pa.to(u.deg).value,
target_beam.pa.value, rtol=1e-3)


@pytest.mark.parametrize(("beams", "target_beam"), casa_commonbeam_suite())
Expand Down

0 comments on commit 2b17d30

Please sign in to comment.