Skip to content

Commit

Permalink
remove deprecation warning that was marked to be removed in 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Oct 13, 2023
1 parent ad1b4dc commit f438289
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pyuvdata/uvdata/mwa_corr_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ def read_mwa_corr_fits(
use_aoflagger_flags=None,
remove_dig_gains=True,
remove_coarse_band=True,
correct_cable_len=None,
correct_cable_len=True,
correct_van_vleck=False,
cheby_approx=True,
flag_small_auto_ants=True,
Expand Down Expand Up @@ -1766,13 +1766,6 @@ def read_mwa_corr_fits(
self.data_array *= self.extra_keywords["SCALEFAC"]

# cable delay corrections
if correct_cable_len is None:
correct_cable_len = True
warnings.warn(
"cable length correction is now defaulted to True rather than "
"False. To read in files without applying the correction set "
"correct_cable_len=False. This warning will be removed in v2.4"
)
if correct_cable_len:
self.correct_cable_length(
meta_dict["cable_lens"], ant_1_inds, ant_2_inds
Expand Down

0 comments on commit f438289

Please sign in to comment.