From 0f9de90a26a3292b9ec664320566bc4ccf6e0abe Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Fri, 20 Oct 2023 09:06:22 -0400 Subject: [PATCH] typo fixes --- neo/core/spiketrain.py | 2 +- neo/core/spiketrainlist.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/core/spiketrain.py b/neo/core/spiketrain.py index 1f12d700b..bf357e290 100644 --- a/neo/core/spiketrain.py +++ b/neo/core/spiketrain.py @@ -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 diff --git a/neo/core/spiketrainlist.py b/neo/core/spiketrainlist.py index 61a8d6bd5..04ebfd1f8 100644 --- a/neo/core/spiketrainlist.py +++ b/neo/core/spiketrainlist.py @@ -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)