Commit 530f44d3 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'IDPVM_globbing' into 'master'

support multiple input files (wildcarding) in runIDPVM.py

See merge request atlas/athena!46812
parents 86bc088c cc0677da
#!/usr/bin/env python
from glob import glob
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
......@@ -45,7 +46,7 @@ ConfigFlags.IDPVM.doHitLevelPlots = MyArgs.doHitLevelPlots
ConfigFlags.IDPVM.ancestorIDs = MyArgs.ancestorIDList
ConfigFlags.IDPVM.hardScatterStrategy = int(MyArgs.hardScatterStrategy)
ConfigFlags.Input.Files = [MyArgs.filesInput]
ConfigFlags.Input.Files = glob(MyArgs.filesInput)
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
acc = MainServicesCfg(ConfigFlags)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment