summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 7eaaa61..e7551df 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -250,11 +250,11 @@ def model_quality_table(
if results is not None and (
info is None
or (
- key != "energy_Pt"
+ attr != "energy_Pt"
and type(info(key, attr)) is not df.StaticFunction
)
or (
- key == "energy_Pt"
+ attr == "energy_Pt"
and (
type(info(key, "power")) is not df.StaticFunction
or type(info(key, "duration")) is not df.StaticFunction