6from PyJobTransforms.TransformUtils
import processPreExec, processPreInclude, processPostExec, processPostInclude
16 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
17 flags = initConfigFlags()
19 commonRunArgsToFlags(runArgs, flags)
21 processPreInclude(runArgs, flags)
22 processPreExec(runArgs, flags)
24 if '_ATHENA_GENERIC_INPUTFILE_NAME_' in flags.Input.Files:
25 flags.Input.Files = []
31 if flags.Exec.MaxEvents == -1:
32 flags.Exec.MaxEvents = 10
36 cfg=MainServicesCfg(flags)
37 cfg.merge(HelloWorldCfg(flags))
39 processPostInclude(runArgs, flags, cfg)
40 processPostExec(runArgs, flags, cfg)
44 sys.exit(
not sc.isSuccess())