VERITAS-Observatory / V2DL3

VERITAS (VEGAS and Eventdisplay) to DL3 Converter
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Python 3.9 compatibility with root #195

Closed matthew-w-lundy closed 1 year ago

matthew-w-lundy commented 1 year ago

There is an issue where we when using V2DL3 you get the following error:

v2dl3-vegas -f ./103110.root ./ea_ITMgeo_22s_v1.6.2_12_V6_ATM62_CARE_v259rc0_7samples_00-025-05-075-10-125-15-175-20off_Z00-60_std_d1p43_s400_MSW1p1_MSL1p3_MH7_ThetaSq0p01_DistCut1200m_4nsb.root ./test Logging level INFO cling (LLVM option parsing): for the --optimize-regalloc option: may only occur zero or one times!

But this is able to be resolve by changing the dependency in the environment to force the use of python 3.8. I'm unsure if this is a ROOT issue or how ROOT is being used but it appears to stem from that dependency.

matthew-w-lundy commented 1 year ago

I have tested this and it appears to work and can commit this minor correction if we are ok with fixing the python to an older version.

matthew-w-lundy commented 1 year ago

Would just be the change in 1db7536

matthew-w-lundy commented 1 year ago

Tested and added to bug fixes branch