Skip to content
Snippets Groups Projects
Commit bc74b4cd authored by Susumu Oda's avatar Susumu Oda Committed by Edward Moyse
Browse files

Add commented option to dump database in JSON files (ATLASRECTS-5799)

parent b5873e02
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ atlas_install_joboptions( share/*.py )
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
# Test(s) in the package:
atlas_add_test( TestSCT_CablingCfg
SCRIPT python -m SCT_Cabling.TestSCT_CablingCfg
atlas_add_test( TestSCT_CablingConfig
SCRIPT python -m SCT_Cabling.TestSCT_CablingConfig
PROPERTIES TIMEOUT 600
ENVIRONMENT THREADS=1 )
......@@ -55,4 +55,13 @@ if __name__=="__main__":
cfg.merge(SCT_TestCablingAlgCfg(ConfigFlags))
# IOVDbSvc = cfg.getService("IOVDbSvc")
#
## To dump database in JSON files (c.f. SCT_CablingWriteToFile.py in the old job configuration)
# IOVDbSvc.OutputToFile = True
#
## To use CREST database (c.f. TestSCT_CablingFromCrest.py in the old job configuration)
## together with ConfigFlags.IOVDb.GlobalTag="CREST-RUN12-SDR-25-MC" for MC
# IOVDbSvc.Source = "CREST"
cfg.run(maxEvents=20)
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