Skip to content

Commit

Permalink
FIX MneExperiment: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Dec 6, 2024
1 parent fb6ae94 commit b34ea0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eelbrain/_utils/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def find_variables(expr: str) -> Set[str]:
try:
st = ast.parse(expr)
except SyntaxError as error:
raise ValueError(f"Invalid expression: {expr:r} ({error})")
raise ValueError(f"Invalid expression: {expr!r} ({error})")
return {n.id for n in ast.walk(st) if isinstance(n, ast.Name)}

0 comments on commit b34ea0f

Please sign in to comment.