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 Dec 16, 2024
1 parent 1ec5d27 commit da7da51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/py21cmsense/observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def from_ska(
cls,
subarray_type: str,
array_type: str = "low",
Trcv: tp.Temperature | Callable = 100 * un.K, # noqa N803
Trcv: tp.Temperature | Callable = 100 * un.K, # noqa N803
frequency: tp.Frequency | None = 150.0 * un.MHz,
**kwargs,
) -> Observatory:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ def test_from_ska():
exclude_stations="C1,C2",
)
low_custom = LowSubArray(
subarray_type="custom",
custom_stations="C*,E1-*", exclude_stations="C1,C2"
subarray_type="custom", custom_stations="C*,E1-*", exclude_stations="C1,C2"
) # selects all core stations, 6 stations in the E1 cluster, excludes core stations C1 and C2
assert obs.antpos.shape == low_custom.array_config.xyz.data.shape

Expand Down

0 comments on commit da7da51

Please sign in to comment.