Skip to content
Snippets Groups Projects
Commit d14d428b authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

DataQualityConfigurations: enable flake8, delete obsolete files

Enable flake8 and delete obsolete `python/dataXY*.py` config files.
Keep `data09_2TeV.py` and `data09_calophys.py` as those are required by
the web display.
parent 04b20abc
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38710DataQualityConfigurations: enable flake8, delete obsolete files
Showing
with 12 additions and 105 deletions
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
atlas_subdir( DataQualityConfigurations ) atlas_subdir( DataQualityConfigurations )
# Install files from the package: # Install files from the package:
atlas_install_python_modules( python/*.py ) atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_scripts( scripts/MergeConfigs.py scripts/UploadDQAMITag.py atlas_install_scripts( scripts/MergeConfigs.py scripts/UploadDQAMITag.py
scripts/merge_all_han_configs.sh scripts/merge_some_han_configs.sh scripts/merge_all_han_configs.sh scripts/merge_some_han_configs.sh
scripts/han-config-indent.sh scripts/han-config-check.sh scripts/han-config-indent.sh scripts/han-config-check.sh
......
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# This holds the method that returns an appropriate DataQualityConfiguration # This holds the method that returns an appropriate DataQualityConfiguration
# module for the specified input string # module for the specified input string
...@@ -53,11 +53,11 @@ def getmodule(modname): ...@@ -53,11 +53,11 @@ def getmodule(modname):
import re import re
# Does it look like datann_hip? # Does it look like datann_hip?
m = re.match('data\d{2}_hip', modname) m = re.match(r'data\d{2}_hip', modname)
if m: if m:
from . import base_data_hi; return base_data_hi from . import base_data_hi; return base_data_hi
# Does it look like datann? # Does it look like datann?
m = re.match('data\d{2}$', modname) m = re.match(r'data\d{2}$', modname)
if m: if m:
from . import base_data; return base_data from . import base_data; return base_data
......
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Hook for the DataQualityConfigurations package # Hook for the DataQualityConfigurations package
__all__ = ['data09', 'data09_1beam','data09_calocomm', 'data09_calophys', __all__ = ['TestDisplay']
'data09_cos', 'data09_idcomm', 'data09_larcomm', 'data09_muoncomm', from .DQCDispatch import getmodule # noqa: F401
'data09_tilecomm', 'data08', 'data08_1beam', 'data08_1beammag',
'data08_cos', 'data08_cosmag', 'data08_idcomm', 'TestDisplay']
from .DQCDispatch import getmodule
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
import os import os
import logging import logging
logging.basicConfig() logging.basicConfig()
......
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from DataQualityUtils.DQWebDisplayConfig import DQWebDisplayConfig
dqconfig = DQWebDisplayConfig()
dqconfig.config = "data08"
dqconfig.hcfg = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_run.1.63.hcfg"
dqconfig.hcfg_min10 = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_minutes10.1.18.hcfg"
dqconfig.hcfg_min30 = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_minutes30.1.6.hcfg"
dqconfig.server = "voatlas12.cern.ch"
dqconfig.histogramCache = "/afs/cern.ch/user/a/atlasdqm/w1/histogram_web_display_cache"
dqconfig.hanResultsDir = "/dqmdisk0/han_results/tier0/all"
dqconfig.htmlDir = "/dqmdisk0/www/tier0/data08"
dqconfig.htmlWeb = "http://atlasdqm.cern.ch/tier0/data08"
dqconfig.runlist = "runlist_data08.xml"
dqconfig.indexFile = "results_data08.html"
dqconfig.lockFile = "DQWebDisplay_data08.lock"
#dqconfig.dbConnection = "oracle://ATLAS_COOLWRITE;schema=ATLAS_COOLOFL_GLOBAL;dbname=COMP200;"
#dqconfig.dqmfOfl = "/GLOBAL/DETSTATUS/DQMFOFL"
#dqconfig.dbConnectionHisto = "oracle://ATLAS_COOLWRITE;schema=ATLAS_COOLOFL_GLOBAL;dbname=COMP200;"
#dqconfig.dqmfOflHisto = "/GLOBAL/DETSTATUS/DQMFOFLH"
#dqconfig.dbTagName = "HEAD"
#authentication file at Tier0 (uncomment this option at Tier0 only)
#dqconfig.auth = "/afs/cern.ch/atlas/project/tzero/var"
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from DataQualityUtils.DQWebDisplayConfig import DQWebDisplayConfig
dqconfig = DQWebDisplayConfig()
dqconfig.config = "data08_coll900"
dqconfig.hcfg = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_run.1.36.hcfg"
dqconfig.hcfg_min10 = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_minutes10.1.9.hcfg"
dqconfig.hcfg_min30 = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_minutes30.1.5.hcfg"
dqconfig.server = "voatlas12.cern.ch"
dqconfig.histogramCache = "/afs/cern.ch/user/a/atlasdqm/w1/histogram_web_display_cache"
dqconfig.hanResultsDir = "/dqmdisk0/han_results/tier0/NotUsed"
dqconfig.htmlDir = "/dqmdisk0/www/tier0/data08_coll900"
dqconfig.htmlWeb = "http://atlasdqm.cern.ch/tier0/data08_coll900"
dqconfig.runlist = "runlist_data08_coll900.xml"
dqconfig.indexFile = "results_data08_coll900.html"
dqconfig.lockFile = "DQWebDisplay_data08_coll900.lock"
#dqconfig.dbConnection = "oracle://ATLAS_COOLWRITE;schema=ATLAS_COOLOFL_GLOBAL;dbname=COMP200;"
#dqconfig.dqmfOfl = "/GLOBAL/DETSTATUS/DQMFOFL"
#dqconfig.dbConnectionHisto = "oracle://ATLAS_COOLWRITE;schema=ATLAS_COOLOFL_GLOBAL;dbname=COMP200;"
#dqconfig.dqmfOflHisto = "/GLOBAL/DETSTATUS/DQMFOFLH"
#dqconfig.dbTagName = "HEAD"
#authentication file at Tier0 (uncomment this option at Tier0 only)
#dqconfig.auth = "/afs/cern.ch/atlas/project/tzero/var"
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# -*- coding: utf-8 -*-
from base_data import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# -*- coding: utf-8 -*-
from base_data_1beam import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from data09 import * from base_data import * # noqa: F401 F403
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09 import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from data09_cos import * from base_data_cos import * # noqa: F401 F403
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# -*- coding: utf-8 -*-
from base_data_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from data09_cos import *
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