Skip to content

Commit

Permalink
fix merge_asof usage in read_raw_eyelink() (mne-tools#12481)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikwelke authored Mar 5, 2024
1 parent 17d0c87 commit ae69b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changes/devel/12481.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix reading segmented recordings with :func:`mne.io.read_raw_eyelink` by `Dominik Welke`_.
2 changes: 1 addition & 1 deletion mne/io/eyelink/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _adjust_times(
np.arange(first, last + step / 2, step), columns=[time_col]
)
return pd.merge_asof(
new_times, df, on=time_col, direction="nearest", tolerance=step / 10
new_times, df, on=time_col, direction="nearest", tolerance=step / 2
)


Expand Down

0 comments on commit ae69b03

Please sign in to comment.