Belle II Software
development
hlt_execution.py
1
#! /usr/bin/env python3
2
3
10
import
subprocess
11
import
sys
12
13
from
hlt.clean_execution
import
CleanBasf2Execution
14
15
16
def
main
(script_name):
17
"""Shortcut method to do the basf2 execution on expressreco and hlt"""
18
execution = CleanBasf2Execution(timeout=10)
19
try
:
20
execution.start([
"basf2"
,
"--no-stats"
, script_name,
"--"
] + sys.argv[1:])
21
return_code = execution.wait()
22
finally
:
23
subprocess.run(
"framework-pcore-clear_ipcs"
)
24
return
return_code
hlt.clean_execution
Definition:
clean_execution.py:1
main
Definition:
main.py:1
hlt
scripts
hlt
hlt_execution.py
Generated on Fri Nov 15 2024 02:41:01 for Belle II Software by
1.9.6