Skip to content

Commit

Permalink
refactor metrics, wip #8
Browse files Browse the repository at this point in the history
  • Loading branch information
evmckinney9 committed Jun 30, 2023
1 parent 58dd518 commit 5f55e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpile_benchy/metrics/abc_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f55e7c

Please sign in to comment.