Skip to content

Commit

Permalink
Accommodate filterby -> scope_limiter rename
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielKS committed Oct 4, 2024
1 parent d0c7e1f commit 7978528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metrics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function _compute_one(metric::ComponentTimedMetric, results::IS.Results,
components = get_components(
selector,
PowerSimulations.get_system(results);
filterby = get_available,
scope_limiter = get_available,
)
vals = [
compute(metric, results, com; kwargs...) for
Expand Down Expand Up @@ -304,7 +304,7 @@ function compute(metric::ComponentTimedMetric, results::IS.Results,
subents = PSY.get_groups(
selector,
PowerSimulations.get_system(results);
filterby = get_available,
scope_limiter = get_available,
)
subcomputations = [_compute_one(metric, results, sub; kwargs...) for sub in subents]
return hcat_timed(subcomputations...)
Expand Down

0 comments on commit 7978528

Please sign in to comment.