NREL-Sienna / InfrastructureSystems.jl

Utility package for Sienna's simulation infrastructure
https://nrel-sienna.github.io/InfrastructureSystems.jl/
BSD 3-Clause "New" or "Revised" License
39 stars 20 forks source link

Cb/has component #191

Closed claytonpbarrows closed 3 years ago

claytonpbarrows commented 3 years ago

add a has_component method

codecov[bot] commented 3 years ago

Codecov Report

Merging #191 (ea8e3d2) into master (fd2ce37) will decrease coverage by 2.85%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
- Coverage   75.39%   72.54%   -2.86%     
==========================================
  Files          42       42              
  Lines        2963     2648     -315     
==========================================
- Hits         2234     1921     -313     
+ Misses        729      727       -2     
Flag Coverage Δ
unittests 72.54% <0.00%> (-2.86%) :arrow_down:

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

Impacted Files Coverage Δ
src/components.jl 86.45% <0.00%> (-4.98%) :arrow_down:
src/utils/assert_op.jl 44.44% <0.00%> (-13.89%) :arrow_down:
src/utils/test.jl 42.30% <0.00%> (-7.70%) :arrow_down:
src/single_time_series.jl 59.74% <0.00%> (-7.29%) :arrow_down:
src/time_series_container.jl 53.65% <0.00%> (-6.76%) :arrow_down:
src/serialization.jl 44.94% <0.00%> (-6.06%) :arrow_down:
src/internal.jl 70.73% <0.00%> (-5.87%) :arrow_down:
src/forecasts.jl 84.37% <0.00%> (-4.00%) :arrow_down:
src/time_series_parser.jl 64.78% <0.00%> (-3.97%) :arrow_down:
src/utils/utils.jl 55.28% <0.00%> (-3.93%) :arrow_down:
... and 27 more