Skip to content

Commit 80e929f

Browse files
Update mne/io/eyelink/_utils.py
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
1 parent 4e87100 commit 80e929f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mne/io/eyelink/_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ def _create_dataframes(raw_extras, apply_offsets):
337337
}
338338
)
339339
df_dict["buttons"] = pd.DataFrame(parsed)
340-
else:
341-
logger.info("No button events found in this file.")
340+
n_button = len(df_dict.get('buttons', []))
341+
logger.info(f"Found {n_button} button event{_pl(n_button)} in this file.")
342342

343343
return df_dict
344344

0 commit comments

Comments
 (0)