You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using DimensionalData
ds =DimStack((; a =rand(X(1:10))))
ds2 =set(ds, :X=>:Y)
ds2.a #errors
DimensionalData.layerdims(ds2) # still X# but this does work
ds3 =set(ds, :X=>Irregular())
For some reason it just doesn't change the layerdims, probably we just need to map over them?
A workaround is maplayers(l -> set(l, :X => :Y), ds) which does work.
The text was updated successfully, but these errors were encountered:
tiemvanderdeure
changed the title
set fails on DimStack if Dimension type is changedset does not update layerdims of a DimStackJan 8, 2025
MWE
For some reason it just doesn't change the layerdims, probably we just need to map over them?
A workaround is
maplayers(l -> set(l, :X => :Y), ds)
which does work.The text was updated successfully, but these errors were encountered: