From bd0218a82bdc5dc4a079457252b2ba2adb47309f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:22:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyuvdata/uvdata/tests/test_uvdata.py | 2 +- pyuvdata/uvdata/uvdata.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pyuvdata/uvdata/tests/test_uvdata.py b/pyuvdata/uvdata/tests/test_uvdata.py index fb12edb500..527dee69f3 100644 --- a/pyuvdata/uvdata/tests/test_uvdata.py +++ b/pyuvdata/uvdata/tests/test_uvdata.py @@ -10657,7 +10657,7 @@ def test_apply_w_no_ops(hera_uvh5, future_shapes): hera_uvh5._apply_w_proj( new_w_vals=np.arange(hera_uvh5.Nblts), old_w_vals=np.arange(hera_uvh5.Nblts), - select_mask=[0, 1] + select_mask=[0, 1], ) assert hera_uvh5 == hera_copy diff --git a/pyuvdata/uvdata/uvdata.py b/pyuvdata/uvdata/uvdata.py index 0791442067..82124fc39a 100644 --- a/pyuvdata/uvdata/uvdata.py +++ b/pyuvdata/uvdata/uvdata.py @@ -5451,9 +5451,7 @@ def unproject_phase( ) self._apply_w_proj( - new_w_vals=0.0, - old_w_vals=self.uvw_array[:, 2], - select_mask=select_mask_use, + new_w_vals=0.0, old_w_vals=self.uvw_array[:, 2], select_mask=select_mask_use ) self.uvw_array = new_uvw