diff --git a/src/tables.jl b/src/tables.jl index 2d5ab7d7b..a4c606ceb 100644 --- a/src/tables.jl +++ b/src/tables.jl @@ -116,7 +116,6 @@ function DimTable(s::AbstractDimStack; end function DimTable(As::Vararg{AbstractDimArray}; layernames=nothing, - name=layernames, mergedims=nothing, ) # Check that dims are compatible @@ -124,7 +123,7 @@ function DimTable(As::Vararg{AbstractDimArray}; # Construct Layer Names layernames = isnothing(layernames) ? uniquekeys(As) : layernames # Construct dimension and array columns with DimExtensionArray - As = isnothing(mergedims) ? As : map(x -> DimensionalData.mergedims(x, mergedims), As) + As = isnothing(mergedims) ? As : map(x -> DD.mergedims(x, mergedims), As) dims_ = dims(first(As)) dimcolumns = collect(_dimcolumns(dims_)) dimnames = collect(map(name, dims_)) diff --git a/test/tables.jl b/test/tables.jl index d2b01e4a2..f5ea708db 100644 --- a/test/tables.jl +++ b/test/tables.jl @@ -1,4 +1,9 @@ -using DimensionalData, IteratorInterfaceExtensions, TableTraits, Tables, Test, DataFrames +using DimensionalData +using Test +using Tables +using IteratorInterfaceExtensions +using TableTraits +using DataFrames using DimensionalData.Lookups, DimensionalData.Dimensions using DimensionalData: DimTable, DimExtensionArray