Skip to content
Snippets Groups Projects
Commit 5743c988 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fix import error in spruce tests in DD4hep mode

parent e5940ced
No related branches found
No related tags found
1 merge request!2490Fixes to tests failing in DD4hep mode
......@@ -16,7 +16,6 @@ import GaudiPython as GP
from GaudiConf import IOExtension
from Configurables import (
ApplicationMgr,
CondDB,
LHCbApp,
IODataManager,
HistogramPersistencySvc,
......@@ -31,6 +30,7 @@ from Hlt2Conf.check_output import (
check_particlesandrelations,
check_decreports,
)
from DDDB.CheckDD4Hep import UseDD4Hep
parser = argparse.ArgumentParser()
parser.add_argument('i', type=str, help='Input MDF or DST')
......@@ -49,7 +49,9 @@ LHCbApp(
DDDBtag="dddb-20171126",
CondDBtag="sim-20171127-vc-md100",
)
CondDB(Upgrade=True)
if not UseDD4Hep:
from Configurables import CondDB
CondDB(Upgrade=True)
input_process = args.p
stream = args.s
......
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