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

Group dataset validation #4150

Merged
merged 3 commits into from Mar 14, 2024
Merged

Group dataset validation #4150

merged 3 commits into from Mar 14, 2024

Conversation

brimoor
Copy link
Contributor

@brimoor brimoor commented Mar 11, 2024

Adds validation to nudge users to use select_group_slices() if they are passing a grouped collection to a method that was not specifically designed to handle grouped datasets/views.

This is intended to avoid confusion where users might expect that all slices of a grouped dataset will "automatically" be processed, when in fact the method would only process the active slice.

@brimoor brimoor requested a review from swheaton March 11, 2024 19:13
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (release/v0.23.7@fc22e8b). Click here to learn what that means.

Additional details and impacted files
@@                Coverage Diff                 @@
##             release/v0.23.7    #4150   +/-   ##
==================================================
  Coverage                   ?   16.03%           
==================================================
  Files                      ?      733           
  Lines                      ?    82012           
  Branches                   ?     1118           
==================================================
  Hits                       ?    13153           
  Misses                     ?    68859           
  Partials                   ?        0           
Flag Coverage Δ
app 16.03% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

fiftyone/utils/cvat.py Outdated Show resolved Hide resolved
Copy link
Contributor

@swheaton swheaton left a comment

Choose a reason for hiding this comment

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

lgtm i think

@brimoor brimoor merged commit d9a3b6d into release/v0.23.7 Mar 14, 2024
9 checks passed
@brimoor brimoor deleted the validate-non-grouped branch March 14, 2024 03:39
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.

None yet

2 participants