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 Jan 18, 2024
1 parent f19432f commit bd0218a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyuvdata/uvdata/tests/test_uvdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions pyuvdata/uvdata/uvdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd0218a

Please sign in to comment.