本地运行AnalysisProductions测试的工具
LbAPLocal的Python项目详细描述
LBA局部
LbAPLocal是一个python库,用于运行LHCb AnalysisProductions框架的脱机测试。在
:警告:这当前仅在LbEnv "unstable" environment:警告中可用:
使用
安装后,可以使用以下选项从命令行运行LbAPLocal:
Usage: lb-ap [OPTIONS] COMMAND [ARGS]...
Command line tool for the LHCb AnalysisProductions
Options:
--help Show this message and exit.
Commands:
list List the available production folders by running lb-ap list...
render Render the info.yaml for a given production
test Execute a job locally
debug Start an interactive session inside the job's environment
reproduce Reproduce an existing online test locally
要查看哪些产品可用:
^{pr2}$要查看给定生产有哪些作业可用:
$ lb-ap list MyAnalysis The available jobsfor MyAnalysis are: * My2016MagDownJob * My2016MagUpJob
要在给定产品的info.yaml
中呈现模板,请执行以下操作:
$ lb-ap render MyAnalysis
要以交互方式运行作业测试,请执行以下操作:
$ lb-ap debug MyAnalysis My2016MagDownJob Welcome to analysis productions debug mode: The production can be tested by running: gaudirun.py -T '$ANALYSIS_PRODUCTIONS_DYNAMIC/Lb2Lll/MC_2017_MagDown_Lb2PsiL_mm_strip_autoconf.py''$ANALYSIS_PRODUCTIONS_BASE/Lb2Lll/stripping_seq.py' prodConf_DaVinci_00012345_00006789_1.py [DaVinci v45r5] output $
要以非交互方式测试作业,请执行以下操作:
$ lb-ap test MyAnalysis My2016MagDownJob
Success! Output can be found in xxxxxxxxxxxx
- 项目
标签: