legend-exp / legend-pydataobj

LEGEND Python Data Objects
https://legend-pydataobj.readthedocs.io
GNU General Public License v3.0
1 stars 9 forks source link

LH5Iterator always returns the first buffer_len entries of the iterated file #82

Closed nikolay327 closed 2 months ago

nikolay327 commented 6 months ago

Can this line be the problem: link ? Is the condition self.n_rows < self.buffer_len always false after the first iteration? Below, I compared the first and the second buffer returned by the iterator. They are identical with each other.

Screenshot (179)

iguinn commented 6 months ago

Hi Niko, can you give me some more details about what you are doing here? What are the file(s) and channel(s) and data field you are looking at? Attaching your notebook might be helpful for debugging this.

gipert commented 2 months ago

Closing as not reproducible.