Rootfile_utils.read_tree() reads only part of the tree

Hi,

rootfile_utils.read_tree reads only part of the tree with Python 2.7.11+/ROOT 5.34/19.
Is this expected?

When I execute the following line on the same file, rootfile_utils.read_tree reads
only the first column of the array with Python 2.7.11+/ROOT 5.34/19
I get the correct result with Python 2.7.3/ROOT v5-34-25. See below.

Any hint?
Eric

import rootfile_utils as ru
data = ru.read_tree(filename, tree)

Python 2.7.11+/ROOT 5.34/19

In [11]: type(data[label])
Out[11]: numpy.ndarray

In [12]: data[label].shape
Out[12]: (6320,)

In [14]: len(data[label][0])
TypeError: object of type ‘numpy.float64’ has no len()

In [15]: data[label]
Out[15]:
array([ 5.31121874, 7.89364195, 7.45820045, …, 9.2254734 ,
73.73565674, 11.00062656])

Python 2.7.3/ROOT v5-34-25

In [19]: type(data[label])
Out[19]: numpy.ndarray

In [20]: data[label].shape
Out[20]: (6320,)

In [21]: len(data[label][0])
Out[21]: 2
In [22]: data[label]
Out[22]:
array([[5.311218738555908, 5.70142936706543],
[7.893641948699951, 7.908349514007568],
[7.458200454711914, 7.989715099334717], …,
[9.225473403930664, 10.022908210754395],

Hi Eric,

I think a bit more context could be useful.
For example, what is the “rootfile_utils” module?

Danilo