Skip to content

Commit 87bd9f6

Browse files
bhazeltonmkolopanis
authored andcommitted
Set this to be version 3.1.0
update a few deprecation warnings that were missing version limits
1 parent afd1e39 commit 87bd9f6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6-
## [3.0.1] - 2024-7-1
6+
## [3.1.0] - 2024-10-22
77

88
### Added
99
- New analytic beam classes: AiryBeam, GaussianBeam, ShortDipoleBeam, UniformBeam

src/pyuvdata/telescopes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __getitem__(self, key):
133133
"Directly accessing the KNOWN_TELESCOPES dict is deprecated. If you "
134134
"need a telescope location, use the known_telescope_location function. "
135135
"For a full Telescope object use the classmethod "
136-
"Telescope.from_known_telescopes.",
136+
"Telescope.from_known_telescopes. This will become an error in version 3.2",
137137
DeprecationWarning,
138138
)
139139
if key in ["latitude", "longitude", "altitude", "center_xyz"]:

src/pyuvdata/utils/pol.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ def _x_orientation_rep_dict(x_orientation):
9292
"""
9393
warnings.warn(
9494
"This function (_x_orientation_rep_dict) is deprecated, use "
95-
"pyuvdata.utils.pol.x_orientation_pol_map instead.",
95+
"pyuvdata.utils.pol.x_orientation_pol_map instead."
96+
" This will become an error in version 3.2",
9697
DeprecationWarning,
9798
)
9899

0 commit comments

Comments
 (0)