Skip to content

Commit

Permalink
Forgot f in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 11, 2024
1 parent fc6d88d commit 7197d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pybv/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ def _chk_events(events, ch_names, n_times):
raise ValueError(f"When array, events must be 2D, but got {events.ndim}")
if events.shape[1] not in (2, 3):
raise ValueError(
"When array, events must have 2 or 3 columns, but got {events.shape[1]}"
"When array, events must have 2 or 3 columns, but got "
f"{events.shape[1]}"
)
if not all([np.issubdtype(i, np.integer) for i in events.flat]):
raise ValueError(
Expand Down

0 comments on commit 7197d3f

Please sign in to comment.