Skip to content

Commit

Permalink
add missing ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Oct 13, 2024
1 parent 444afb2 commit fc6fc96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parameters/update_container_parameter_values.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ function _update_parameter_values!(
components = get_available_components(device_model, get_system(model))
ts_uuids = Set{String}()
for component in components
if !PSY.has_time_series(component)
continue

Check warning on line 54 in src/parameters/update_container_parameter_values.jl

View check run for this annotation

Codecov / codecov/patch

src/parameters/update_container_parameter_values.jl#L54

Added line #L54 was not covered by tests
end
ts_uuid = string(IS.get_time_series_uuid(U, component, ts_name))
if !(ts_uuid in ts_uuids)
ts_vector = get_time_series_values!(
Expand Down

0 comments on commit fc6fc96

Please sign in to comment.