Skip to content

instantaneous events#404

Merged
mathieudpnt merged 3 commits into
Project-OSmOSE:mainfrom
Gautzilla:instant-event
Jun 10, 2026
Merged

instantaneous events#404
mathieudpnt merged 3 commits into
Project-OSmOSE:mainfrom
Gautzilla:instant-event

Conversation

@Gautzilla

Copy link
Copy Markdown
Contributor

🐸

The Event class didn't allow for cases where begin == end.

It raises an issue when trying to parse Annotation results as Events, since some annotations can be of type POINT and have a 0s-duration.

This PR changes the begin/end constraint to begin <= end, according to the tests it doesn't break anything so 🤞

ParksAndRecParksAndRecreationGIF

@Gautzilla Gautzilla requested a review from mathieudpnt June 10, 2026 08:18
@Gautzilla Gautzilla self-assigned this Jun 10, 2026
@Gautzilla Gautzilla added the Enhancement Something that could be done in a better way label Jun 10, 2026
@coveralls

coveralls commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 98.956% (+0.001%) from 98.955% — Gautzilla:instant-event into Project-OSmOSE:main

@mathieudpnt mathieudpnt merged commit 5cc37b1 into Project-OSmOSE:main Jun 10, 2026
2 checks passed
@Gautzilla Gautzilla deleted the instant-event branch June 10, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Something that could be done in a better way

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants