Skip to content

get_ivcurve.py returns TypeError

File "/.dirigenv/lib64/python3.9/site-packages/deps/felis/core_methods/get_ivcurve.py", line 44, in get_ivcurve minTemp_K = sum(v_minTemperature)/len(v_minTemperature) + 273.15 TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

I believe that this needs error handling. In the case of TBPX the current HDI has some issue with the ROC1 NTC, so the TGraph has nothing and this will fail.

Also the TGraph is found in Results/Run000000_MonitorDQM.root instead of Run000000_MonitorDQM_Board_0_Hybrid_0.root after running dirigent. But the code reads from Run000000_MonitorDQM_Board_0_Hybrid_0.root and hence retrived nothing. Please find the attached for your reference. iv_debug.zip