From 0c01271c21478506e3a9b849e149e387e1bedde3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:51:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_observatory.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_observatory.py b/tests/test_observatory.py index a8bfee3..b3259fe 100644 --- a/tests/test_observatory.py +++ b/tests/test_observatory.py @@ -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)