From 79785283ad2accec4d1bc15cce3b543718f08a2c Mon Sep 17 00:00:00 2001 From: GabrielKS <23368820+GabrielKS@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:43:11 -0600 Subject: [PATCH] Accommodate `filterby` -> `scope_limiter` rename --- src/metrics.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/metrics.jl b/src/metrics.jl index 558666d..d8d1af8 100644 --- a/src/metrics.jl +++ b/src/metrics.jl @@ -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 @@ -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...)