Adjust DU xy position method from detector file to new file format
I think this is a small thing: when trying to extract the xy positions of the DUs from a detector file, it fails for the v4 detx format:
Traceback (most recent call last):
File "compare_all_49.py", line 89, in <module>
xy_jpp = cal_jpp.detector.xy_positions
File "/pbs/throng/km3net/software/python/3.7.5/lib/python3.7/site-packages/km3pipe/hardware.py", line 311, in xy_positions
if self.domid2floor(dom_id) == 1:
File "/pbs/throng/km3net/software/python/3.7.5/lib/python3.7/site-packages/km3pipe/hardware.py", line 439, in domid2floor
_, floor, _ = self.doms[dom_id]
ValueError: too many values to unpack (expected 3)
I.e. detx' like /pbs/throng/km3net/detectors/KM3NeT_00000049_20210222.detx