rafaqz / DimensionalData.jl

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

fix cat where dims holds a lookup array #501

Closed rafaqz closed 1 year ago

rafaqz commented 1 year ago

Currently cat doesn't use the contents of the dims dimension, like dims=X(1:2) when X is a new dimension not contained in the arrays to concatenate.

This is pretty much a bug, fixed in this PR.

Now the lookup array or array will be used, and if possible merged with refdims properties.