Skip to content

Commit

Permalink
simply loop range
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanshah committed Jun 24, 2024
1 parent 56d2b16 commit be5c08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_get_data_in_units(self):

data_in_units = electrical_series.get_data_in_units()

for channel_index in range(len(channel_conversion)):
for channel_index in range(channels):
np.testing.assert_almost_equal(
data_in_units[:, channel_index],
np.ones(samples) * conversion * channel_conversion[channel_index] + offset
Expand Down

0 comments on commit be5c08c

Please sign in to comment.