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

DumpEventDataToJSON: Python fixes related to flake8 warnings

Fix warnings/errors flagged by `flake8`. Mostly unused variables/imports
or stylistic code problems.
parent e7416455
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaCommon.Constants import VERBOSE, INFO from AthenaCommon.Constants import VERBOSE
from DumpEventDataToJSON.DumpEventDataToJSONConf import DumpEventDataToJsonAlg from DumpEventDataToJSON.DumpEventDataToJSONConf import DumpEventDataToJsonAlg
def DumpEventDataToJSONAlgCfg(configFlags, doExtrap=False): def DumpEventDataToJSONAlgCfg(configFlags, doExtrap=False):
result=ComponentAccumulator() result=ComponentAccumulator()
ExtrapolationEngine=""
if doExtrap: if doExtrap:
from TrkExEngine.AtlasExtrapolationEngineConfig import AtlasExtrapolationEngineCfg from TrkExEngine.AtlasExtrapolationEngineConfig import AtlasExtrapolationEngineCfg
extrapAcc = AtlasExtrapolationEngineCfg(configFlags) extrapAcc = AtlasExtrapolationEngineCfg(configFlags)
...@@ -23,12 +22,7 @@ if __name__=="__main__": ...@@ -23,12 +22,7 @@ if __name__=="__main__":
from AthenaCommon.Configurable import Configurable from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1 Configurable.configurableRun3Behavior=1
from AthenaCommon.Logging import log
from AthenaCommon.Constants import DEBUG
from AthenaConfiguration.AllConfigFlags import ConfigFlags from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
#log.setLevel(DEBUG)
ConfigFlags.Input.Files = ["../q221/myESD.pool.root"] ConfigFlags.Input.Files = ["../q221/myESD.pool.root"]
......
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