Coverage for openhcs/microscopes/__init__.py: 100.0%
3 statements
« prev ^ index » next coverage.py v7.10.7, created at 2025-10-01 18:33 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2025-10-01 18:33 +0000
1"""
2Microscope-specific implementations for openhcs.
4This package contains modules for different microscope types, each providing
5concrete implementations of FilenameParser and MetadataHandler interfaces.
7The package uses automatic discovery to find and register all handler implementations,
8following OpenHCS generic solution principles. All handlers are automatically
9discovered and registered via metaclass during discovery - no hardcoded imports needed.
10"""
12# Import base components and factory function
13from openhcs.microscopes.microscope_base import create_microscope_handler
15# Import registry service for automatic discovery
16from openhcs.microscopes.handler_registry_service import (
17 discover_all_handlers,
18 get_all_handler_types,
19 is_handler_available
20)
22# Note: Individual handlers are automatically discovered and registered via metaclass.
23# No hardcoded imports needed - the discovery system handles everything automatically.
25__all__ = [
26 # Factory function - primary public API
27 'create_microscope_handler',
28 # Registry service functions
29 'discover_all_handlers',
30 'get_all_handler_types',
31 'is_handler_available',
32]