From 7f817119733f416fbd107fdf641450a3e7b012dd Mon Sep 17 00:00:00 2001 From: Ruud Kassing Date: Tue, 9 May 2023 14:35:47 +0200 Subject: [PATCH] fix: reference type in metric pipeline --- popmon/pipeline/metrics_pipelines.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/popmon/pipeline/metrics_pipelines.py b/popmon/pipeline/metrics_pipelines.py index 6fa39efe..bee1f270 100644 --- a/popmon/pipeline/metrics_pipelines.py +++ b/popmon/pipeline/metrics_pipelines.py @@ -72,7 +72,6 @@ def get_metrics_pipeline_class(reference_type, reference): def create_metrics_pipeline( settings: Settings, - reference_type="self", reference=None, hists_key="hists", **kwargs, @@ -85,7 +84,7 @@ def create_metrics_pipeline( } # execute reporting pipeline - cls = get_metrics_pipeline_class(reference_type, reference) + cls = get_metrics_pipeline_class(settings.reference_type, reference) pipeline = cls(**cfg) return pipeline