-
Notifications
You must be signed in to change notification settings - Fork 7
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
Functions using axes() fail because Compat exports axes #25
Comments
I noticed this on travis as well. I think this error probably needs to be addressed in multiple packages , but the fix itself should be simple (I think); at least for |
I made the fix for this package and also for ImageView. I find it a bit ugly, but I guess this will go away when we drop 0.6 support? Then I think AxisArrays can import |
If the meaning of |
Ah, but it looks like they do different things for standard Arrays, so importing isn't really an option:
|
Agreed, looks like we'll have to avoid importing unless AxisArrays gets reworked. |
I'd recommend renaming the function in AxisArrays. I'd tackle this myself, but I'm more than swamped with the last changes to broadcasting infrastructure in 0.7/1.0, so I'm going to hope others tackle this. |
This sounds like a good longterm solution. In the meantime, are there any objections to merging and tagging the hotfixes in #26 and JuliaImages/ImageView.jl#137 ? |
Its worth noting that there seems to be a plan to solve our dilemma upstream JuliaLang/Compat.jl#442 |
That's nice! Am I correct that this only rescues 0.6, and for 0.7 we'll still want to use qualified names or rename |
I do not know as I have not spend any time looking into 0.7 as of yet. I do believe though that a lot of updates have to be made all around the JuliaImages ecosystem. So I'd guess this depends on when the planned renaming takes place |
Can confirm the original issue is resolved by Compat itself. This should take care of the 0.6 side of the issue at least. |
Since
axes()
replacesindices()
on master,Compat
is now exportingaxes()
, which broke a few functions in ImageAxis, for example :This is on julia 0.6.2.
The text was updated successfully, but these errors were encountered: