Skip to content

Commit

Permalink
test: fix test_observatory bug due to new pyuvdata version
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielaBreitman committed Aug 9, 2024
1 parent 3fe7aa7 commit 253b7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_from_uvdata(bm):
uv.telescope.antenna_positions = (
np.array([[0, 0, 0], [0, 1, 0], [1, 0, 0], [40, 0, 40]]) * units.m
)
uv.telescope.location = [x.value for x in EarthLocation.from_geodetic(0, 0).to_geocentric()]
uv.telescope.location = EarthLocation.from_geodetic(0,0)

a = Observatory.from_uvdata(uvdata=uv, beam=bm)
assert np.all(a.antpos == uv.telescope.antenna_positions)
Expand Down

0 comments on commit 253b7d7

Please sign in to comment.