astroquery icon indicating copy to clipboard operation
astroquery copied to clipboard

Disabled FITS & UnitsWarnings by default for ESASky module

Open imbasimba opened this issue 3 years ago • 1 comments

As suggested by @bsipocz here, some warnings are not useful to the users. Thus, the suggested warning as well as some extra warnings are now disabled by default, but can be enabled via the verbose parameter.

Also, some minor pep8 formatting.

imbasimba avatar Oct 03 '22 13:10 imbasimba

Codecov Report

Merging #2550 (3409715) into main (b0d9f5f) will decrease coverage by 0.01%. The diff coverage is 19.23%.

@@            Coverage Diff             @@
##             main    #2550      +/-   ##
==========================================
- Coverage   63.99%   63.97%   -0.02%     
==========================================
  Files         132      132              
  Lines       16969    16984      +15     
==========================================
+ Hits        10859    10866       +7     
- Misses       6110     6118       +8     
Impacted Files Coverage Δ
astroquery/esasky/core.py 18.37% <19.23%> (-0.04%) :arrow_down:
astroquery/cadc/core.py 81.18% <0.00%> (+0.95%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 03 '22 13:10 codecov[bot]