HERA-Team / hera_qm

HERA Data Quality Metrics
MIT License
2 stars 2 forks source link

Make night_index work when uvlist is relative path #386

Closed jsdillon closed 3 years ago

jsdillon commented 3 years ago

I was running into a problem with H1C IDR3.2 where all_files are absolute paths but uvlist is all relative paths. This breaks night_index = all_files.index(os.path.abspath(uvlist[ind])), so this fixes that.

codecov[bot] commented 3 years ago

Codecov Report

Merging #386 (607eadc) into master (db2fb3b) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #386   +/-   ##
=======================================
  Coverage   97.06%   97.06%           
=======================================
  Files           8        8           
  Lines        3100     3100           
=======================================
  Hits         3009     3009           
  Misses         91       91           
Impacted Files Coverage Δ
hera_qm/xrfi.py 99.78% <100.00%> (ø)

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 db2fb3b...607eadc. Read the comment docs.