From 1b02883ba662da8b1e78cae678480ea7123e31e3 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 19 Feb 2024 14:00:11 +0100 Subject: [PATCH] Fix style --- pybv/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybv/io.py b/pybv/io.py index c259ec2..3d36d5d 100644 --- a/pybv/io.py +++ b/pybv/io.py @@ -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.") tformat = event["type"][0] + "{:>" + str(twidth) + "}" event["description"] = tformat.format(event["description"])