-
Notifications
You must be signed in to change notification settings - Fork 297
Combine cubes 2 #6334
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
Combine cubes 2 #6334
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6334 +/- ##
==========================================
- Coverage 89.80% 89.78% -0.02%
==========================================
Files 90 90
Lines 23589 23632 +43
Branches 4402 4411 +9
==========================================
+ Hits 21183 21217 +34
- Misses 1662 1667 +5
- Partials 744 748 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Status update 2025-02-25
The currently-failing doctests in the docsring of the My current details to-do list(maybe not exhaustive) ...
|
557076f
to
7ca4d8e
Compare
I'm going to mark this "ready for review", since it is (I think) functionally complete.
Hopefully I can get a big chunk of the TODOs today. |
Note:Following considerable offline discussion with @trexfeathers @stephenworsley , In short,
So in the end ... it makes more sense to have a single definition, parts of which are irrelevant to one use, than to separate the two for the sake of a small difference |
Update 2025-02-26I finally completed my checklist for adding tests 🍾 I've also added a whatsnew, and some really minimal redirection links from the iris main module API and the userguide loading chapter. For now, I'm just awaiting comments |
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.
Looking good. I'm pretty happy with the decision to simplify the API by making LOAD_POLICY a copy of COMBINE_POLICY, though I think it's worth adding another test to ensure that modifying one does indeed modify the other (and vice versa). I just have a couple suggestions for the documentation for the moment, I plan to go look through the testing next. So far, the code itself looks like a definite improvement.
I don't think there's a real point to answer for this one, as they aren't copies but different names for the actual same object. |
Update : thanks @stephenworsley please re-review ! |
ah yes, that's what I meant, I was just imprecise (or incorrect) in my language. I ask because I have seen some confusion in the past over how to expect configuration objects to behave when being modified or set (e.g. code of the form |
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.
Looking good, Just a couple small notes from the tests.
OK I think I do see what you mean now. |
6bfe028
to
0c11048
Compare
Update 2024-03-6Thanks @stephenworsley responded to comments so-far + up to date, I hope. Note that while other PRs are merging at present, unfortunately every merge tends to create conflict in the whastnew/latest.rst. |
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.
Just a couple TODOs to remove.
OK I had to rebase yet again, but hopefully that addresses the stale TODOs you pointed out. |
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.
Looks good, I think this is mergable now.
Many thanks @stephenworsley ! |
Rework replaces #6331, addresses #6203