Belle II Software
release-05-01-25
variables.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
"""
5
You can run ``b2help-variables`` to list all available variables.
6
"""
7
from
variables
import
getCommandLineOptions
8
import
subprocess
9
import
basf2
10
11
12
if
__name__ ==
"__main__"
:
13
args = getCommandLineOptions()
14
basf2.B2WARNING(
"Calling basf2 variables.py is discouraged. The canonical way is to call b2help-variables."
)
15
16
if
args.pager:
17
subprocess.call(
"b2help-variables"
)
18
else
:
19
subprocess.call([
"b2help-variables"
,
"--no-pager"
])
analysis
scripts
variables.py
Generated on Fri Nov 5 2021 03:46:07 for Belle II Software by
1.8.17