openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

TDD: add test #219

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

Horrible fix to do with some pandas indexes

Fixes https://github.com/openclimatefix/uk-pv-national-gsp-api/issues/247

How Has This Been Tested?

CI test and ran API locally with this change

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #219 (8674030) into main (4679993) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #219   +/-   ##
=======================================
  Coverage   95.03%   95.04%           
=======================================
  Files          27       27           
  Lines        1693     1694    +1     
=======================================
+ Hits         1609     1610    +1     
  Misses         84       84           
Impacted Files Coverage Δ
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/read/blend/blend.py 96.29% <100.00%> (+0.06%) :arrow_up:

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