Skip to content

Commit 79f2ae0

Browse files
authored
nits (add msg)
1 parent b20c26a commit 79f2ae0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

causal_automl/download_eia_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ def filter_series(
8383
hdbg.dassert_in(
8484
key,
8585
df.columns,
86-
"Facet '%s' not found in data columns=%s",
87-
key,
88-
list(df.columns),
86+
msg=(
87+
f"Facet '{key}' not found in data columns={list(df.columns)}"
88+
),
8989
)
9090
df = df[df[key] == val]
9191
if df.empty:

0 commit comments

Comments
 (0)