Jerry Ling
Jerry Ling
@aminnj we can't do the `ccall` in versions
maybe https://github.com/Kolaru/MathTeXEngine.jl/pull/74 ?
actually, ```diff diff --git a/base/strings/basic.jl b/base/strings/basic.jl index c266689824..69eaef0668 100644 --- a/base/strings/basic.jl +++ b/base/strings/basic.jl @@ -298,7 +298,7 @@ julia> cmp("b", "β") """ function cmp(a::AbstractString, b::AbstractString) a === b && return 0...
The bytes blob inside a RNTuple is pre-pended by not TKey but `RBlob` (and these 'RBlob's are not put in the TFile-wide directory): ```python In [34]: t = ROOT.TFile("/home/akako/Documents/github/scikit-hep-testdata/src/skhep_testdata/data/test_ntuple_int_10.root") In...
```python In [20]: akform = ak._v2.from_iter([{"one": 1, "two": 2.0}]).layout.form In [21]: with up.recreate("/tmp/test.root") as file: ...: file.mktree("Events", {"one":"int"}) ...: file.mkntuple("ntuple", akform) In [23]: up.open("/tmp/test.root")["ntuple"]._members Out[23]: {'fCheckSum': 1700499286, 'fVersion': 0, 'fSize':...
in a different file, the `stl_container` test file, we have: - one header RBlob - one footer RBlob - one chunk for pagelinklist (the 30 entries share same chunk just...
```python In [227]: with up.recreate("/tmp/test.root") as file: ...: file.mkntuple("ntuple", akform) In [228]: up.open("/tmp/test.root")["ntuple"].header Out[228]: MetaData('HeaderReader', env_header={'env_version': 1, 'min_version': 1}, feature_flag=0, rc_tag=1, name='ntuple', ntuple_description='', writer_identifier='uproot 5.0.0rc2', field_records=[MetaData('FieldRecordFrame', field_version=0, type_version=0, parent_field_id=0, struct_role=0,...
```python In [444]: with up.recreate("/tmp/test.root") as file: ...: akform = ak._v2.forms.RecordForm([ak._v2.forms.NumpyForm('float64'), ak._v2.forms.NumpyForm('int32'), ak._v2.forms.Numpy ...: Form('bool')], ['one', 'two', 'three']) ...: file.mkntuple("ntuple", akform) up In [445]: up.open("/tmp/test.root")["ntuple"].header.field_records Out[445]: [MetaData('FieldRecordFrame', field_version=0, type_version=0, parent_field_id=0,...
working on Footer, turns out it's not empty even if the RNTuple itself is empty: ```python In [26]: rn = up.open("./test_ntuple_int_empty.root")["ntuple"] In [27]: rn.header Out[27]: MetaData('HeaderReader', env_header={'env_version': 1, 'min_version': 1},...
```python In [43]: with up.recreate("/tmp/test.root") as file: ...: akform = ak._v2.forms.RecordForm([ak._v2.forms.NumpyForm('int32')], ['one_integers']) ...: file.mkntuple("ntuple", akform) In [44]: up.open("/tmp/test.root")["ntuple"].footer #[ 1 0 1 0 0 0 0 0 0 0 0...