-
Notifications
You must be signed in to change notification settings - Fork 21
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
permuteddimsview -> PermutedDimsArray #143
permuteddimsview -> PermutedDimsArray #143
Conversation
Codecov Report
@@ Coverage Diff @@
## master #143 +/- ##
=======================================
Coverage 55.14% 55.14%
=======================================
Files 10 10
Lines 457 457
=======================================
Hits 252 252
Misses 205 205 Continue to review full report at Codecov.
|
@timholy It looks like I'm failing several unit tests here that aren't related to the code change. Specifically, starting at https://github.com/JuliaImages/ImageCore.jl/pull/143/checks?check_run_id=1173227622#step:5:318,
Do you know what's going on here? |
This is due to the recent changes in BinaryBuilder and artifacts in julialang/julia, see also JuliaIO/ImageMagick.jl#189 I've disabled fail-fast in 16c688c, now I need to close and reopen to retrigger the test on the new base. |
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.
Okay, I've updated this and tested the doctests locally with
This should be ready for another review. |
@vtjeng thank you very much for these updates! |
Summary
permutteddimsview
is deprecated.ImageCore.jl/src/deprecations.jl
Line 88 in c4d3bc9
We remove all references to this function (other than in tests specifically for deprecation), replacing it with PermutedDimsarray instead.
As part of this work, we re-ran the code in
docs/src/views.md
and updated it.In particular, we remove a section that is now irrelevant ("A note on the return types from the views"). Here is the code that was written for that section:
Updated
Return types from views
Consider the following examples with different input images.
In both instances, using the
channelview
returns areinterpret
(but with different type parameters).