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

Add model object API to clear each list of associated objects #185

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

melissalinkert
Copy link
Member

Copy link
Member

@chris-allan chris-allan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Member

@sbesson sbesson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new proposed API makes sense to me and its naming is consistent with the existing sizeOf<Object>List() and copy<Object>List() APIs.

Looking at similar examples, https://github.com/ome/bioformats/blob/194a643d02ed766bf57705a3fa3f9e8d1c880cbc/components/bio-formats-tools/src/loci/formats/tools/ImageConverter.java#L599-L604 is probably the most relevant location other than ome-omero-roitool that could be updated to use the new API.

@sbesson
Copy link
Member

sbesson commented Apr 8, 2024

Raised during the weekly formats meeting with @dgault and @jburel, no-one had concerns about including this in the upcoming ome-model component release

@sbesson sbesson merged commit 9b37d39 into ome:master Apr 8, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants