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
38 stars 20 forks source link

Create set_name_internal! #268

Closed daniel-thom closed 2 years ago

daniel-thom commented 2 years ago

This allows consuming packages to block set_name! if necessary.

Fixes #230

codecov[bot] commented 2 years ago

Codecov Report

Merging #268 (70ed3f8) into master (3788c89) will decrease coverage by 0.25%. The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #268      +/-   ##
==========================================
- Coverage   78.54%   78.28%   -0.26%     
==========================================
  Files          43       43              
  Lines        3570     3436     -134     
==========================================
- Hits         2804     2690     -114     
+ Misses        766      746      -20     
Flag Coverage Δ
unittests 78.28% <80.00%> (-0.26%) :arrow_down:

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

Impacted Files Coverage Δ
src/InfrastructureSystems.jl 77.77% <75.00%> (-5.56%) :arrow_down:
src/components.jl 92.56% <100.00%> (-0.52%) :arrow_down:
src/utils/utils.jl 64.58% <0.00%> (-1.57%) :arrow_down:
src/utils/print.jl 52.10% <0.00%> (-1.10%) :arrow_down:
src/utils/generate_structs.jl 84.68% <0.00%> (-0.91%) :arrow_down:
src/internal.jl 78.84% <0.00%> (-0.79%) :arrow_down:
src/probabilistic.jl 77.19% <0.00%> (-0.78%) :arrow_down:
src/scenarios.jl 83.67% <0.00%> (-0.65%) :arrow_down:
src/deterministic.jl 81.53% <0.00%> (-0.56%) :arrow_down:
src/utils/recorder_events.jl 91.39% <0.00%> (-0.53%) :arrow_down:
... and 18 more