Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for RNTuple RC2 #1115

Merged
merged 13 commits into from
Mar 22, 2024
8 changes: 4 additions & 4 deletions src/uproot/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@
kStreamedMemberWise = numpy.uint16(1 << 14)

############ RNTuple https://github.com/root-project/root/blob/master/tree/ntuple/v7/doc/specifications.md
_rntuple_frame_format = struct.Struct("<HH")
rntuple_env_header = _rntuple_frame_format.pack(1, 1)
_rntuple_frame_format = struct.Struct("<Q")
rntuple_env_header = _rntuple_frame_format.pack(0) # TODO: need to check this
rntuple_col_num_to_dtype_dict = {
1: "uint64",
2: "uint32",
3: "uint64", # Switch
3: "switch", # Switch
4: "uint8",
5: "uint8", # char
6: "bit",
Expand Down Expand Up @@ -153,7 +153,7 @@
rntuple_col_num_to_size_dict = {
1: 64,
2: 32,
3: 64, # Switch
3: 96, # Switch
4: 8,
5: 8, # char
6: 1,
Expand Down
Loading