Belle II Software
release-05-01-25
b2bii.py
1
# !/usr/bin/env python3
2
3
import
os
4
5
6
def
isB2BII():
7
if
os.environ.get(
"B2BII"
,
""
).lower()
in
[
'true'
,
'yes'
,
'on'
,
'1'
]:
8
return
True
9
else
:
10
return
False
11
12
13
def
setB2BII():
14
os.environ[
"B2BII"
] =
'TRUE'
15
16
17
def
unsetB2BII():
18
os.environ[
"B2BII"
] =
'FALSE'
b2bii
scripts
b2bii.py
Generated on Fri Nov 5 2021 03:47:30 for Belle II Software by
1.8.17