Hi,
I can reproduce the problem with Display and I’m working on a fix (we are treating char* as an actual vector of characters rather than as a string).
In the meantime I would like to unblock you, but I am not sure what you want to accomplish. If you just want to print the contents of the column, the solution by @etejedor above does the trick.
About your last post: the column has type char *, so I am not sure using a TString as branch type is safe.
What are you trying to accomplish exactly?
Cheers,
Enrico
I have a database which could only opening using python, I want to convert it to ROOT file database. Then I could use it in my c++ code. So I think using TString is a better way. But as you mentioned I’m not sure if TString as branch is safe in PyROOT.
Alright, but this is a completely different topic Would you mind opening a new thread with a small self-contained reproducer for this new problem?
About the issue with RDF Display and arrays of characters, I opened this ticket, I should have a fix soon (it will be part of the next ROOT release, v6.24, and maybe also v6.22/02).
Hi,
just a follow-up, printing arrays of chars with display is now fixed in ROOT master and 6.22 patches, which will be respectively v6.24 (one day) and v6.22/02 (as soon as we have a patch release).