aodn / python-aodntools

Repository for templates and code relating to generating standard NetCDF files for the Australia Ocean Data Network
GNU Lesser General Public License v3.0
10 stars 3 forks source link

Fix functions that modify files_to_agg argument in place #172

Closed mhidas closed 2 years ago

mhidas commented 2 years ago

... and add a simple test assertion to confirm fix

codecov[bot] commented 2 years ago

Codecov Report

Merging #172 (7eb3f3e) into master (9098f6a) will increase coverage by 0.07%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #172      +/-   ##
==========================================
+ Coverage   84.88%   84.96%   +0.07%     
==========================================
  Files          12       12              
  Lines        1131     1137       +6     
  Branches      156      156              
==========================================
+ Hits          960      966       +6     
  Misses        152      152              
  Partials       19       19              
Impacted Files Coverage Δ
...tools/timeseries_products/aggregated_timeseries.py 95.18% <100.00%> (+0.05%) :arrow_up:
...eseries_products/velocity_aggregated_timeseries.py 91.85% <100.00%> (+0.12%) :arrow_up:
.../timeseries_products/velocity_hourly_timeseries.py 95.20% <100.00%> (+0.05%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.