HERA-Team / hera_qm

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

fix bug where np.unique sorts lsts by value rather then by obs time. #418

Closed aewallwi closed 2 years ago

aewallwi commented 2 years ago

Fix a glib application of np.unique which also inadverntently sorted the lsts in a data file by their value rather then their observation time. This led to flagging the wrong lsts in a file.

codecov[bot] commented 2 years ago

Codecov Report

Merging #418 (070c3a7) into main (0b6c176) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #418   +/-   ##
=======================================
  Coverage   96.92%   96.92%           
=======================================
  Files           9        9           
  Lines        3255     3256    +1     
=======================================
+ Hits         3155     3156    +1     
  Misses        100      100           
Impacted Files Coverage Δ
hera_qm/utils.py 97.32% <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 0b6c176...070c3a7. Read the comment docs.