SIO-ODF / ctdcal

A CTD calibration package in use on US GO-SHIP cruises
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Refactor and test odf_io #37

Closed mvkovatch3 closed 2 years ago

mvkovatch3 commented 2 years ago

Mostly just tests. Only notable change to odf_io is bug fix to avoid unintentionally modifying input DataFrame

codecov[bot] commented 2 years ago

Codecov Report

Merging #37 (32436a1) into main (6ffddb2) will increase coverage by 2.79%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   16.29%   19.09%   +2.79%     
==========================================
  Files          27       27              
  Lines        2994     2996       +2     
  Branches      350      352       +2     
==========================================
+ Hits          488      572      +84     
+ Misses       2504     2421      -83     
- Partials        2        3       +1     
Flag Coverage Δ
pytest 19.09% <100.00%> (+2.79%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ctdcal/odf_io.py 100.00% <100.00%> (+100.00%) :arrow_up:
ctdcal/sbe_reader.py 13.52% <0.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 6ffddb2...32436a1. Read the comment docs.