From 5f55e7c870befec48adb384377217c656be01d84 Mon Sep 17 00:00:00 2001 From: Evan McKinney Date: Fri, 30 Jun 2023 02:24:10 -0400 Subject: [PATCH] refactor metrics, wip #8 --- src/transpile_benchy/metrics/abc_metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transpile_benchy/metrics/abc_metrics.py b/src/transpile_benchy/metrics/abc_metrics.py index 385d592..20a830a 100644 --- a/src/transpile_benchy/metrics/abc_metrics.py +++ b/src/transpile_benchy/metrics/abc_metrics.py @@ -63,7 +63,7 @@ def get_pass(self, transpiler) -> AnalysisPass: for attribute in self.required_attributes: if not hasattr(transpiler, attribute): raise ValueError( - f"Transpiler must have '{attribute}' to instantiate this metric." + f"Transpiler missing '{attribute}' attr to instantiate {self.name}." ) return self._get_pass(transpiler)