Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make Annotations sortable #408

Merged
merged 7 commits into from
Mar 21, 2024
Merged

make Annotations sortable #408

merged 7 commits into from
Mar 21, 2024

Conversation

ArneBinder
Copy link
Owner

@ArneBinder ArneBinder commented Mar 21, 2024

This PR implements Annotation.__lt__(other). Note that we only compare fields with field.compare==True (e.g. not the score) and also exclude the special _targets field!

@ArneBinder ArneBinder added the enhancement New feature or request label Mar 21, 2024
@ArneBinder ArneBinder changed the title add Annotation resolve() and compare make Annotation sortable Mar 21, 2024
@ArneBinder ArneBinder changed the title make Annotation sortable make Annotations sortable Mar 21, 2024
@ArneBinder ArneBinder merged commit b22f9df into main Mar 21, 2024
6 checks passed
@ArneBinder ArneBinder deleted the annotation_resolve_and_compare branch March 21, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant