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 May 16, 2024
1 parent 135b577 commit b57954e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pyuvdata/uvdata/miriad.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,7 @@ def _load_miriad_variables(self, uv):
):
extra_miriad_variables.append(variable)

miriad_header_data = {
"Nfreqs": "nchan",
"Nspws": "nspect",
"Npols": "npol",
}
miriad_header_data = {"Nfreqs": "nchan", "Nspws": "nspect", "Npols": "npol"}
for item in miriad_header_data:
header_value = uv[miriad_header_data[item]]
setattr(self, item, header_value)
Expand Down

0 comments on commit b57954e

Please sign in to comment.