-
Notifications
You must be signed in to change notification settings - Fork 12
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
Do we need a validate()
method in move accessor?
#257
Comments
Note also that we have |
We could get rid of it in principle. As stated above, we only use it in one place (prior to saving). The original idea was to use Under the hood the self._validate_dims()
self._validate_data_vars() If we were to remove |
We now are getting rid of this validation as part of #322. |
Is your feature request related to a problem? Please describe.
While reviewing PR #255, @lochhh pointed out that with a poses datasets we only use the
move.validate()
method when saving the dataset to an output file.The PR extends the move accessor to bboxes datasets, including the
move.validate()
method, and adds a test to cover the case of validating a bboxes dataset (since we don't have an equivalentsave_bboxes
module yet).This raised the question: do we need this method?
Describe the solution you'd like
For now extending the existing accessor methods and corresponding tests makes sense to me, but we may want to consider if this is necessary and if it will be a burden going forwards.
Describe alternatives you've considered
\
Additional context
\
The text was updated successfully, but these errors were encountered: