Skip to content

Commit

Permalink
correct error in stop time function
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-pfarr committed Jan 21, 2025
1 parent 349d958 commit b1fc02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eye2bids/edf2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _extract_StartTime(events: list[str]) -> int:

def _extract_StopTime(events: list[str]) -> int:
StopTime = (
np.array(pd.DataFrame([st.split() for st in events if st.startswith("START")])[1])
np.array(pd.DataFrame([so.split() for so in events if so.startswith("END")])[1])
.astype(int)
.tolist()
)
Expand Down

0 comments on commit b1fc02a

Please sign in to comment.