Problems reading L1 and L2 timeslices from Ligier
As reported by @ffilippini, the L1 and L2 timeslices (generated at the BCI in Bologna) are throwing an error when parsed with the kp.io.daq.TimesliceParser
. L0 parsing works.
pipe.drain()
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/thepipe/core.py”, line 423, in drain
return self.drain(cycles)
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/thepipe/core.py”, line 372, in drain
new_blob = module(blob_to_send)
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/thepipe/core.py”, line 178, in __call
return self.process(args, *kwargs)
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/km3pipe/io/daq.py”, line 117, in process
‘Hits’
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/km3pipe/dataclasses.py”, line 349, in from_template
h5singleton=h5singleton
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/km3pipe/dataclasses.py”, line 133, in new
*kwargs
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/km3pipe/dataclasses.py”, line 272, in from_dict
return cls(np.rec.fromarrays(data, names=names, dtype=dtype), *kwargs)
File “/home/km3net/.pyenv/versions/3.7.2/lib/python3.7/site-packages/numpy/core/records.py”, line 638, in fromarrays
raise ValueError(“array-shape mismatch in array %d” % k)
ValueError: array-shape mismatch in array 5