Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/source/authors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ and may not be the current affiliation of a contributor.
* Axel Coiffard-Donaty
* Anthony Mercer
* Aaron Kanzer [53]
* Eva B (evadiva3 on GitHub)

1. Centre de Recherche en Neuroscience de Lyon, CNRS UMR5292 - INSERM U1028 - Université Claude Bernard Lyon 1
2. Unité de Neuroscience, Information et Complexité, CNRS UPR 3293, Gif-sur-Yvette, France
Expand Down
4 changes: 2 additions & 2 deletions neo/io/nestio.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __read_analogsignals(
if len(np.unique(column_list_no_None)) < len(column_list_no_None):
raise ValueError(
"One or more columns have been specified to contain "
"the same data. Columns were specified to {column_list_no_None}."
f"the same data. Columns were specified to {column_list_no_None}."
""
)

Expand Down Expand Up @@ -348,7 +348,7 @@ def _check_input_sampling_period(self, sampling_period, time_column, time_unit,
if time_column is not None:
data_sampling = np.unique(np.diff(sorted(np.unique(data[:, 1]))))
if len(data_sampling) > 1:
raise ValueError(f"Different sampling distances found in " "data set ({data_sampling})")
raise ValueError(f"Different sampling distances found in data set ({data_sampling})")
else:
dt = data_sampling[0]
else:
Expand Down
2 changes: 1 addition & 1 deletion neo/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def add_epoch(segment, event1, event2=None, pre=0 * pq.s, post=0 * pq.s, attach_
durations = event2.times + post - times

if any(durations < 0):
raise ValueError(f"Can not create epoch with negative duration. " "Requested durations {durations}.")
raise ValueError(f"Can not create epoch with negative duration. Requested durations {durations}.")
elif any(durations == 0):
raise ValueError("Can not create epoch with zero duration.")

Expand Down