Coverage for biobb_common / biobb_common / __init__.py: 91%
11 statements
« prev ^ index » next coverage.py v7.13.0, created at 2025-12-22 13:18 +0000
« prev ^ index » next coverage.py v7.13.0, created at 2025-12-22 13:18 +0000
1name = "biobb_common"
2__all__ = ["generic", "tools"]
3__version__ = "5.2.0"
6class BioBBGlobalProperties(dict):
7 """Global properties container for all BiobbObject instances."""
9 def __init__(self):
10 super().__init__()
12 def dict(self):
13 """Create a shallow copy of the global properties."""
14 return self.copy()
16 def __repr__(self):
17 """String representation."""
18 return f"BioBBGlobalProperties({dict(self)})"
21# Create a global instance
22biobb_global_properties = BioBBGlobalProperties()