diff --git a/src/metadata.jl b/src/metadata.jl index f3dc5df..7cadd9e 100644 --- a/src/metadata.jl +++ b/src/metadata.jl @@ -218,3 +218,4 @@ fill_value_decoding(v::Nothing, ::Any) = v fill_value_decoding(v, T) = T(v) fill_value_decoding(v::Number, T::Type{String}) = v == 0 ? "" : T(UInt8[v]) fill_value_decoding(v, ::Type{ASCIIChar}) = v == "" ? nothing : v +fill_value_decoding(v::Vector, T::Type{<:Complex}) = T(v[1], v[2])