Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 8, 2024
1 parent 405cbd2 commit 0c01271
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def test_min_max_antpos(bm):

def test_from_uvdata(bm):
uv = pyuvdata.UVData()
uv.telescope.antenna_positions = np.array([[0, 0, 0], [0, 1, 0], [1, 0, 0], [40, 0, 40]]) * units.m
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()]

a = Observatory.from_uvdata(uvdata=uv, beam=bm)
Expand Down

0 comments on commit 0c01271

Please sign in to comment.