Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 19, 2024
1 parent 3f82816 commit 1b02883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybv/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def _chk_events(events, ch_names, n_times):

for event in events_out:
if event["description"] < 0:
raise ValueError(f"events: descriptions must be non-negative ints.")
raise ValueError("events: descriptions must be non-negative ints.")

Check warning on line 427 in pybv/io.py

View check run for this annotation

Codecov / codecov/patch

pybv/io.py#L427

Added line #L427 was not covered by tests
tformat = event["type"][0] + "{:>" + str(twidth) + "}"
event["description"] = tformat.format(event["description"])

Expand Down

0 comments on commit 1b02883

Please sign in to comment.