Belle II Software
light-2406-ragdoll
variables.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
You can run ``b2help-variables`` to list all available variables.
13
"""
14
from
variables
import
getCommandLineOptions
15
import
subprocess
16
import
basf2
17
18
19
if
__name__ ==
"__main__"
:
20
21
args = getCommandLineOptions()
22
basf2.B2WARNING(
"Calling basf2 variables.py is discouraged. The canonical way is to call b2help-variables."
)
23
24
if
args.pager:
25
subprocess.call(
"b2help-variables"
)
26
else
:
27
subprocess.call([
"b2help-variables"
,
"--no-pager"
])
analysis
scripts
variables.py
Generated on Tue Jul 9 2024 23:27:14 for Belle II Software by
1.9.6