Belle II Software development
test_print_module_parameters.py
1
8
9'''
10Print the parameters of all the modules registered in basf2.
11'''
12
13import basf2
14import b2test_utils
15import pybasf2
16
17
18if __name__ == "__main__":
19
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)
def clean_working_directory()
Definition: __init__.py:189
def show_only_errors()
Definition: __init__.py:94