Issue opening reconstructed root files with last jpp/master version on CC-Lyon
Recently I've been working on adapting the old muon calibration scripts (https://git.km3net.de/calibration/muon_calibrations) into a new workflow using Snakemake (https://git.km3net.de/lbaillysalins/snakemake-muon_calibration).
Things were going fine until last week end, but on Monday I started getting error at the readout step of the workflow, when I'm trying to open the files obtained with JARCAMuonReconstruction.sh in Python with km3io:
Traceback (most recent call last):
File "/pbs/home/l/lbaillys/snakemake-muon_calibration/track_quality/.snakemake/scripts/tmpmazb6m3m.readout_selection.py", line 127, in <module>
eventFile = load_event_file(i)
File "/pbs/home/l/lbaillys/snakemake-muon_calibration/track_quality/.snakemake/scripts/tmpmazb6m3m.readout_selection.py", line 64, in load_event_file
return ki.OfflineReader(event_file)
File "/pbs/throng/km3net/software/python/3.7.5/lib/python3.7/site-packages/km3io/rootio.py", line 84, in __init__
+ list(self.nested_aliases)
File "/pbs/throng/km3net/software/python/3.7.5/lib/python3.7/collections/__init__.py", line 361, in namedtuple
raise ValueError('Type names and field names must be valid '
ValueError: Type names and field names must be valid identifiers: 'header_uuid[16]'
I noticed this happens only for files generated on Monday (12/09/2022) or later. The reason for that probably is related to a very bad practice: I was using jpp/master (I know...) on the CC-Lyon. I thus suspect some changes happened to jpp/master during the week-end and now things don't work fine anymore.
Here is one of those files that km3io.OfflineReader cannot open:
/sps/km3net/users/baillysalins/muon_calibration_output/data/reconstructed/track_quality/real/ARCA_94/DU10/offset_t/test1_1run_1DUs_3offsets_jppMast/DU10_offset_t_-1.0_run11167.root
I checked and with jpp/17.0.0 everything's fine, I don't get that error.
For other software versions: python/3.7.5, root/6.22.06, km3io 0.27.0.
I've learned a good lesson and starting now, I will only use tagged jpp version on the CC (well unless strictly advised to do otherwise). However I'm not sure that the latest tagged version (17.0.0) includes the last developments in terms of dynamic calibration, that's why I used jpp/master before. Maybe @mdejong can help ?