File tree Expand file tree Collapse file tree
src/spikeinterface/preprocessing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ def __init__(self, recording):
3838 if "gain_to_physical_unit" not in recording .get_property_keys ():
3939 error_msg = (
4040 "Recording must have 'gain_to_physical_unit' property to convert to physical units. \n "
41- "Set the gain using `recording.set_property(key='gain_to_physical_unit', value =values)`."
41+ "Set the gain using `recording.set_property(key='gain_to_physical_unit', values =values)`."
4242 )
4343 raise ValueError (error_msg )
4444 if "offset_to_physical_unit" not in recording .get_property_keys ():
4545 error_msg = (
4646 "Recording must have 'offset_to_physical_unit' property to convert to physical units. \n "
47- "Set the offset using `recording.set_property(key='offset_to_physical_unit', value =values)`."
47+ "Set the offset using `recording.set_property(key='offset_to_physical_unit', values =values)`."
4848 )
4949 raise ValueError (error_msg )
5050
You can’t perform that action at this time.
0 commit comments