-
Notifications
You must be signed in to change notification settings - Fork 96
Refactor dataset validators #706
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #706 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 34 34
Lines 2104 2110 +6
=========================================
+ Hits 2104 2110 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0a33e5c to
3233aef
Compare
3233aef to
78bd5a5
Compare
|
sfmig
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job, thanks @lochhh! 🚀
I like the modularity in both the validators and their tests, it makes everything so much more readable.
My comments are mostly about variable names, I'm curious about your opinion and don't feel too strongly about them either. Let me know thoughts.
niksirbi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've also had a look at this, out of interest, and had very little to add (see inline comments). Adding my approval to the list.
d6625ba to
7870022
Compare
|
Thanks @sfmig and @niksirbi for your input!
|
5b42f67 to
c8e4019
Compare
c8e4019 to
50af275
Compare
|



Description
What is this PR
Why is this PR needed?
Closes #241 #210
What does this PR do?
_ds_from_valid_datainto the input validator classes asto_datasetfor converting validated inputs into xr.DatasetsReferences
#241, #210 part of #667
How has this PR been tested?
Unit tests have been rewritten
Is this a breaking change?
Yes, the Validators have been renamed to ValidPosesInputs and ValidBboxesInputs
Does this PR require an update to the documentation?
Not until #722 is finalised
Checklist: