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

Batch can now modify YAML files #349

Closed ppinchuk closed 2 years ago

ppinchuk commented 2 years ago

Added the capability for batch to modify YAML files in addition to JSON. Added tests that verify this capability. Tested in production run on EAGLE - ran NRWAL for hydrogen project using batch to modify NRWAL equations and values in YAML files.

codecov-commenter commented 2 years ago

Codecov Report

Merging #349 (7bb33c8) into main (b570f83) will increase coverage by 0.17%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #349      +/-   ##
==========================================
+ Coverage   78.08%   78.26%   +0.17%     
==========================================
  Files         119      119              
  Lines       15248    15349     +101     
==========================================
+ Hits        11907    12013     +106     
+ Misses       3341     3336       -5     
Flag Coverage Δ
unittests 78.26% <100.00%> (+0.17%) :arrow_up:

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

Impacted Files Coverage Δ
reV/batch/batch.py 85.55% <100.00%> (+3.77%) :arrow_up:
tests/test_batch.py 98.32% <100.00%> (+0.93%) :arrow_up:
reV/config/project_points.py 85.25% <0.00%> (+0.04%) :arrow_up:
reV/handlers/collection.py 78.82% <0.00%> (+0.06%) :arrow_up:
reV/handlers/transmission.py 78.54% <0.00%> (+0.49%) :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 b570f83...7bb33c8. Read the comment docs.