NREL / reV

Renewable Energy Potential (reV) Model
https://nrel.github.io/reV/
BSD 3-Clause "New" or "Revised" License
107 stars 24 forks source link

Bespoke analysis run bug fixes #356

Closed ppinchuk closed 2 years ago

ppinchuk commented 2 years ago

Fixed some minor but important bugs that I found while doing bespoke analysis runs.

codecov-commenter commented 2 years ago

Codecov Report

Merging #356 (b327c93) into main (b2616f5) will increase coverage by 0.03%. The diff coverage is 95.00%.

@@            Coverage Diff             @@
##             main     #356      +/-   ##
==========================================
+ Coverage   79.11%   79.15%   +0.03%     
==========================================
  Files         135      135              
  Lines       18175    18194      +19     
==========================================
+ Hits        14380    14402      +22     
+ Misses       3795     3792       -3     
Flag Coverage Δ
unittests 79.15% <95.00%> (+0.03%) :arrow_up:

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

Impacted Files Coverage Δ
reV/bespoke/cli_bespoke.py 30.97% <0.00%> (ø)
reV/bespoke/place_turbines.py 90.41% <100.00%> (+0.11%) :arrow_up:
tests/test_bespoke.py 100.00% <100.00%> (ø)
tests/test_hybrids.py 96.43% <0.00%> (+0.23%) :arrow_up:
tests/test_gen_pv.py 94.67% <0.00%> (+0.38%) :arrow_up:
tests/test_supply_curve_exclusions.py 97.74% <0.00%> (+0.75%) :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 b2616f5...b327c93. Read the comment docs.