TopLevelMfaWorker#
- class montreal_forced_aligner.abc.TopLevelMfaWorker(**kwargs)[source]#
Bases:
MfaWorker
,TemporaryDirectoryMixin
Abstract mixin for top-level workers in MFA. This class holds properties about the larger workflow run.
- Parameters:
- check_previous_run()[source]#
Check whether a previous run has any conflicting settings with the current run.
- Returns:
Flag for whether the current run is compatible with the previous one
- Return type:
- property identifier#
Combined identifier of the data source and workflow
- property log_file#
Path to the worker’s log file
- property output_directory#
Root temporary directory to store all of this worker’s files
- classmethod parse_args(args, unknown_args)[source]#
Class method for parsing configuration parameters from command line arguments
- classmethod parse_parameters(config_path=None, args=None, unknown_args=None)[source]#
Parse configuration parameters from a config file and command line arguments
- property worker_config_path#
Path to worker’s configuration in the working directory
- property working_directory#
Alias for a folder that contains worker information, separate from the data directory