Skip to content

Fix insertBunchGroupSet.py

Mark Stockton requested to merge fixInsertBG into master

insertBunchGroupSet is not working at point1

$ insertBunchGroupSet.py --dbalias TRIGGERDB_RUN3 --bgs BunchGroupSet_LHC_960b_875_0trains_440indivs.json
Attempting to authenticate via /det/tdaq/hlt/trigconf/run3/write/
Opening DB connection ATLAS_CONF_TRIGGER_RUN3_W@ATONR_CONF
Closing DB connection
Traceback (most recent call last):
  File "/sw/atlas/tdaq/tdaq-10-00-00/installed/share/bin/insertBunchGroupSet.py", line 78, in <module>
    sys.exit(main())
  File "/sw/atlas/tdaq/tdaq-10-00-00/installed/share/bin/insertBunchGroupSet.py", line 65, in main
    bgsk, uploadRecordDict = uploader.uploadBunchGroupSetFromFile(
AttributeError: 'BunchGroupSetUploader' object has no attribute 'uploadBunchGroupSetFromFile'

Was not tested when the latest tag was installed. @aporeba has the fix applied here locally so can upload again @shanisch @tnobe

Merge request reports