Skip to content
Snippets Groups Projects
Commit e48322de authored by scott snyder's avatar scott snyder
Browse files

SCT_ConditionsAlgorithms: Fix broken conditions dependencies in tests.

Don't request conditions dependencies that don't exist.
parent b9ffea6f
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,7 @@ conddb.addFolderSplitMC("SCT", "/SCT/DAQ/Config/MUR", "/SCT/DAQ/Config/MUR")
from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConf import SCT_ReadoutTestAlg
SCT_ReadoutTestAlg = SCT_ReadoutTestAlg()
SCT_ReadoutTestAlg.SCT_ReadoutTool.SCT_CablingTool = ''
# Module type and link status
#SCT_ReadoutTestAlg.ModuleId = 143704064 # Endcap (default is barrel)
......
......@@ -85,6 +85,12 @@ condSeq = AthSequencer("AthCondSeq")
from xAODEventInfoCnv.xAODEventInfoCreator import xAODMaker__EventInfoCnvAlg
condSeq+=xAODMaker__EventInfoCnvAlg(OutputLevel=2)
condAlgName = "SCT_CablingCondAlgFromCoraCool"
if not hasattr(condSeq, condAlgName):
from AthenaCommon.CfgGetter import getAlgorithm
SCT_CablingCondAlgFromCoraCool = getAlgorithm(condAlgName)
condSeq += SCT_CablingCondAlgFromCoraCool
from SCT_ConditionsTools.SCT_TdaqEnabledToolSetup import SCT_TdaqEnabledToolSetup
sct_TdaqEnabledToolSetup = SCT_TdaqEnabledToolSetup()
sct_TdaqEnabledToolSetup.setup()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment