diff --git a/src/root.jl b/src/root.jl index 29540d1b..df92b441 100644 --- a/src/root.jl +++ b/src/root.jl @@ -327,6 +327,7 @@ function _normalize_ftype(fType) end end +# TODO: there are still a few missing here (see constants.jl) const _leaftypeconstlookup = Dict( Const.kBool => Bool , Const.kChar => Int8 , @@ -344,6 +345,7 @@ const _leaftypeconstlookup = Dict( Const.kDouble32 => Float32, Const.kDouble => Float64, Const.kFloat => Float32, + Const.kTString => String, ) """ diff --git a/src/utils.jl b/src/utils.jl index ef47e860..a6430fbd 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -71,6 +71,10 @@ function JaggType(f, branch, leaf) leaf isa TLeafElement && leaf.fLenType==0 && return Offsetjagg return Nojagg end + if typeof(streamer) <: TStreamerString + # TODO: there are for sure also jagged strings, need to find files with those + return Nojagg + end if streamer.fSTLtype == Const.kSTLvector (match(r"\[.*\]", leaf.fTitle) !== nothing) && return Offset6jaggjagg return Offsetjagg