-
Notifications
You must be signed in to change notification settings - Fork 77
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
Centralize/generalize declaration of convention attributes #493
Conversation
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## dev #493 +/- ##
==========================================
- Coverage 77.13% 70.12% -7.01%
==========================================
Files 39 23 -16
Lines 3415 2638 -777
==========================================
- Hits 2634 1850 -784
- Misses 781 788 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
TODO: Change from using the attribute definitions in |
I resolved the merge conflict we saw today. But: @leewujung & @lsetiawan : a test failed with this PR. When I first created the PR 19 days ago, all tests were successful. The error occurs with
I don't see how that could be caused by the changes in this PR, so my guess is that it has to do with something else altogether. Has there been a change in the availability of EK80 test files in the last ~24 hours (eg, related to #498)? I'm hoping this is a transient hiccup. Could either of you take a quick look to diagnose if it looks like it's an external problem that will be addressed elsewhere? If the problem persists into tomorrow and it's hard to diagnose, let's skip this PR for 0.5.5. |
Oops, that's my fault, as part of the work for #498. It's a tiny |
Also, @emiliom there seems to be some unused import thing found by the pre-commit.ci bot. Could you check on those? |
Remove unused imports (flake8 fix)
Remove unused imports (flake8 fix)
Thanks! Good for me, bad for you
Nice catch. I'll admit that I had ignored the pre-commit failures altogether. I've fixed it. |
Ok this is ready to merge now. Thanks @emiliom! |
This is a demonstration step for centralizing where coordinate and variable attributes are declared. Moving in this direction will make it easier and more robust to maintain adherence to the convention.
Not ready for merging. Though it completes all tests, this PR is intended as a demonstration for discussion.
Sorry for the clutter, but it also contains changes from PR #492, which is not merged yet; those are all in
echopype/echodata/echodata.py
alone.Partially addresses #373 (adds
range_bin
attributes, but not a description in the docs).