Skip to content

Commit 8178b0f

Browse files
Wouter KrootWouter Kroot
authored andcommitted
formatting
1 parent 9ded82d commit 8178b0f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mne/io/eyelink/_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,10 @@ def _make_eyelink_annots(df_dict, create_annots, apply_offsets):
744744
onsets = df["time"]
745745
durations = np.zeros_like(onsets)
746746
descriptions = df.apply(
747-
lambda row: f"button_{int(row['button_id'])}_{'press' if row['button_pressed'] == 1 else 'release'}",
747+
lambda row: (
748+
f"button_{int(row['button_id'])}_"
749+
f"{'press' if row['button_pressed'] == 1 else 'release'}"
750+
),
748751
axis=1,
749752
)
750753
this_annot = Annotations(

0 commit comments

Comments
 (0)