Skip to content

Commit 5ad0f0e

Browse files
Wouter KrootWouter Kroot
authored andcommitted
change button write syntax
1 parent 0d5f6ce commit 5ad0f0e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mne/io/eyelink/tests/test_eyelink.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ def _simulate_eye_tracking_data(in_file, out_file):
269269
)
270270

271271
for timestamp in np.arange(5488500, 5488600): # 100 samples
272-
# Write sample line
273272
fp.write(
274273
f"{timestamp}\t-2434.0\t-1760.0\t840.0\t100\t20\t45\t45\t127.0\t"
275274
"...\t1497\t5189\t512.5\t.............\n"
@@ -283,7 +282,6 @@ def _simulate_eye_tracking_data(in_file, out_file):
283282
fp.write(f"BUTTON\t{t}\t{btn_id}\t{state}\t100\t20\t45\t45\t127.0\t"
284283
"1497.0\t5189.0\t512.5\t.............\n")
285284
button_idx += 1
286-
287285
fp.write("END\t7453390\tRIGHT\tSAMPLES\tEVENTS\n")
288286

289287

0 commit comments

Comments
 (0)