rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
280 stars 41 forks source link

Don't export X,Y #493

Closed sylvaticus closed 1 year ago

sylvaticus commented 1 year ago

These are very general variable name, I don't think these should be exported.

Then this happens:

julia> using Rasters
julia> X
X
julia> X = 2
ERROR: cannot assign a value to imported variable Dimensions.X from module Main
Stacktrace:
[1] top-level scope
@ REPL[3]:1
rafaqz commented 1 year ago

Just dont use X from Rasters first and you can assign whatever you like to it. I dont see where the problem is