We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e0346b + b6f5697 commit a6e8211Copy full SHA for a6e8211
src/qcodes/parameters/parameter_base.py
@@ -253,8 +253,8 @@ def __init__(
253
super().__init__(metadata)
254
if not str(name).isidentifier():
255
raise ValueError(
256
- f"Parameter name must be a valid identifier "
257
- f"got {name} which is not. Parameter names "
+ f"Parameter name must be a valid identifier, which "
+ f"'{name}' is not. Parameter names "
258
f"cannot start with a number and "
259
f"must not contain spaces or special characters"
260
)
0 commit comments