diff --git a/eye2bids/edf2bids.py b/eye2bids/edf2bids.py index 1aeee91..6e90187 100644 --- a/eye2bids/edf2bids.py +++ b/eye2bids/edf2bids.py @@ -289,8 +289,7 @@ def _extract_StartTime(events: list[str]) -> int: Please consider changing your code accordingly for future eyetracking experiments.\n""" ) - return StartTime[0] - return StartTime + return StartTime[0] def _extract_StopTime(events: list[str]) -> int: @@ -307,8 +306,7 @@ def _extract_StopTime(events: list[str]) -> int: Please consider changing your code accordingly for future eyetracking experiments.\n""" ) - return StopTime[-1] - return StopTime + return StopTime[-1] def _load_asc_file(events_asc_file: str | Path) -> list[str]: