Skip to content
Snippets Groups Projects
Commit c10a1bde authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'master-crest' into 'master'

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

See merge request atlas/athena!38865
parents 8b852f6a bc74b4cd
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