Skip to content

Commit 966cce8

Browse files
Apply suggestions from code review
Co-authored-by: Chris Halcrow <57948917+chrishalcrow@users.noreply.github.com>
1 parent 703c8ed commit 966cce8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/spikeinterface/preprocessing

src/spikeinterface/preprocessing/scale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)