aind_behavior_experiment_launcher.launcher.BaseLauncher¶
- class aind_behavior_experiment_launcher.launcher.BaseLauncher(rig_schema_model: Type[TRig], session_schema_model: Type[TSession], task_logic_schema_model: Type[TTaskLogic], data_dir: PathLike, config_library_dir: PathLike, temp_dir: PathLike = PosixPath('local/.temp'), repository_dir: PathLike | None = None, allow_dirty: bool = False, skip_hardware_validation: bool = False, debug_mode: bool = False, group_by_subject_log: bool = False, services: ServicesFactoryManager | None = None, validate_init: bool = True, attached_logger: Logger | None = None)[source]¶
Bases:
Generic
[TRig
,TSession
,TTaskLogic
]- __init__(rig_schema_model: Type[TRig], session_schema_model: Type[TSession], task_logic_schema_model: Type[TTaskLogic], data_dir: PathLike, config_library_dir: PathLike, temp_dir: PathLike = PosixPath('local/.temp'), repository_dir: PathLike | None = None, allow_dirty: bool = False, skip_hardware_validation: bool = False, debug_mode: bool = False, group_by_subject_log: bool = False, services: ServicesFactoryManager | None = None, validate_init: bool = True, attached_logger: Logger | None = None) None [source]¶
Methods
__init__
(rig_schema_model, ...[, temp_dir, ...])abspath
(path)dispose
()main
()validate
()Validates the dependencies required for the launcher to run.
Attributes
RIG_DIR
SUBJECT_DIR
TASK_LOGIC_DIR
rig_schema
services_factory_manager
session_directory
session_schema
task_logic_schema