Belle II Software
light-2409-toyger
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
Typedefs
a
b
c
d
l
m
n
p
r
s
w
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
c
d
e
f
h
i
m
o
p
r
s
t
v
w
Enumerations
b
c
e
g
h
m
p
s
t
v
Enumerator
b
c
k
t
Related Functions
Files
File List
File Members
All
Functions
test_print_module_parameters.py
1
8
9
'''
10
Print the parameters of all the modules registered in basf2.
11
'''
12
13
import
basf2
14
import
b2test_utils
15
import
pybasf2
16
17
18
if
__name__ ==
"__main__"
:
19
20
with
b2test_utils.clean_working_directory
():
21
with
b2test_utils.show_only_errors
():
22
23
# Get all the modules (this is a dictionary: module name and shared object)
24
all_modules = pybasf2.list_available_modules()
25
26
# Create a path and add all the modules to the path
27
path = basf2.Path()
28
for
m, so
in
all_modules.items():
29
path.add_module(m)
30
31
# And print the path: this automatically prints also the module parameters
32
basf2.print_path(path)
b2test_utils.clean_working_directory
def clean_working_directory()
Definition:
__init__.py:189
b2test_utils.show_only_errors
def show_only_errors()
Definition:
__init__.py:94
framework
tests
test_print_module_parameters.py
Generated on Sat Sep 28 2024 03:41:43 for Belle II Software by
1.9.6