Skip to content

Commit ed6e20a

Browse files
committed
Revert "Remove f-string for compatibility with Python < 3.6"
This reverts commit f6ca348.
1 parent 2f12466 commit ed6e20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ephyviewer/datasource/epochs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, epoch=None, possible_labels=[], color_labels=None, channel_na
7777
# add labels missing from possible_labels but found in epoch data
7878
new_labels_from_data = list(set(epoch['label'])-set(self.possible_labels))
7979
if restrict_to_possible_labels:
80-
assert len(new_labels_from_data)==0, 'epoch data contains labels not found in possible_labels: ' + str(new_labels_from_data)
80+
assert len(new_labels_from_data)==0, f'epoch data contains labels not found in possible_labels: {new_labels_from_data}'
8181
self.possible_labels += new_labels_from_data
8282

8383
# put the epochs into a canonical order after loading

0 commit comments

Comments
 (0)