diff --git a/src/sam/metainfo.jl b/src/sam/metainfo.jl index 0c74a90..57961c1 100644 --- a/src/sam/metainfo.jl +++ b/src/sam/metainfo.jl @@ -189,7 +189,7 @@ function keyvalues(metainfo::MetaInfo)::Vector{Pair{String,String}} if iscomment(metainfo) throw(ArgumentError("not a dictionary")) end - return Pair{String,String}[key => val for (key, val) in zip(keys(metainfo), values(metainfo))] + return Pair{String, String}.(keys(metainfo), values(metainfo)) end function Base.keys(metainfo::MetaInfo)