Commit 5c16591e authored by Vincent Michel's avatar Vincent Michel

Better exception for get_acquisition_values

parent 5f91dfa9
Pipeline #1250 passed with stages
in 1 minute and 20 seconds
......@@ -589,7 +589,8 @@ def get_acquisition_value(name, channel=None):
# Inconsistency
if value is None:
raise ValueError(
'The acquisition value differs from channel to channel')
'The acquisition value {} differs from channel to channel'
.format(name))
# Return
return value
# Get value for a single channel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment