RadioAstronomySoftwareGroup / pyuvsim

A ultra-high precision package for simulating radio interferometers in python on compute clusters.
https://pyuvsim.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
43 stars 7 forks source link

Filter warnings from SkyModel in deprecated `return_recarray` option #393

Closed bhazelton closed 2 years ago

bhazelton commented 2 years ago

Description

Add a warnings filter to eliminate extra deprecation warnings coming from SkyModel.

Motivation and Context

SkyModel is adding more deprecation warnings, but this is in code that is already deprecated in pyuvsim, so we don't need multiple warnings.

Types of changes

Checklist:

For all pull requests:

Bug fix checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #393 (74098dc) into main (e1b821a) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #393   +/-   ##
=======================================
  Coverage   99.34%   99.34%           
=======================================
  Files          13       13           
  Lines        2124     2126    +2     
=======================================
+ Hits         2110     2112    +2     
  Misses         14       14           
Impacted Files Coverage Δ
pyuvsim/simsetup.py 99.89% <100.00%> (+<0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e1b821a...74098dc. Read the comment docs.