Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 20, 2023
1 parent 13eff37 commit 0f9de90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neo/core/spiketrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _check_time_in_range(value, t_start, t_stop, view=False):
'''

if t_start > t_stop:
raise ValueError(f"t_stop ({t_stop}) is before t_start ({s_start})")
raise ValueError(f"t_stop ({t_stop}) is before t_start ({t_start})")

if not value.size:
return
Expand Down
2 changes: 1 addition & 1 deletion neo/core/spiketrainlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __str__(self):
return str([])
else:
return (f"SpikeTrainList containing {self._spike_time_array.size} "
f"spikes from {len(self._all_channels_ids)} neurons")
f"spikes from {len(self._all_channel_ids)} neurons")
else:
return str(self._items)

Expand Down

0 comments on commit 0f9de90

Please sign in to comment.