Belle II Software
development
b2bii.py
1
# !/usr/bin/env python3
2
3
10
11
import
os
12
13
14
def
isB2BII():
15
if
os.environ.get(
"B2BII"
,
""
).lower()
in
[
'true'
,
'yes'
,
'on'
,
'1'
]:
16
return
True
17
else
:
18
return
False
19
20
21
def
setB2BII():
22
os.environ[
"B2BII"
] =
'TRUE'
23
24
25
def
unsetB2BII():
26
os.environ[
"B2BII"
] =
'FALSE'
b2bii
scripts
b2bii.py
Generated on Fri Nov 8 2024 02:33:56 for Belle II Software by
1.9.6