montreal_forced_aligner/abc.py
def check_previous_run(self) -> bool:
        """
        Check whether a previous run has any conflicting settings with the current run.

        Returns
        -------
        bool
            Flag for whether the current run is compatible with the previous one
        """
        if not os.path.exists(self.worker_config_path):
            return True
        with open(self.worker_config_path, "r") as f:
            conf = yaml.load(f, Loader=yaml.SafeLoader)
        clean = self._validate_previous_configuration(conf)
        if not clean:
            self.logger.warning(
                "The previous run had a different configuration than the current, which may cause issues."
                " Please see the log for details or use --clean flag if issues are encountered."
            )
        return clean

        Check whether a previous run has any conflicting settings with the current run.

        Returns
        -------
        bool
            Flag for whether the current run is compatible with the previous one
        
Check whether a previous run has any conflicting settings with the current run.
Returns

bool
Flag for whether the current run is compatible with the previous one
Check whether a previous run has any conflicting settings with the current run . Returns bool Flag for whether the current run is compatible with the previous one
def check_previous_run(self) -> bool:
        if not os.path.exists(self.worker_config_path):
            return True
        with open(self.worker_config_path, "r") as f:
            conf = yaml.load(f, Loader=yaml.SafeLoader)
        clean = self._validate_previous_configuration(conf)
        if not clean:
            self.logger.warning(
                "The previous run had a different configuration than the current, which may cause issues."
                " Please see the log for details or use --clean flag if issues are encountered."
            )
        return clean
def check_previous_run ( self ) -> bool : if not os . path . exists ( self . worker_config_path ) : return True with open ( self . worker_config_path , "r" ) as f : conf = yaml . load ( f , Loader = yaml . SafeLoader ) clean = self . _validate_previous_configuration ( conf ) if not clean : self . logger . warning ( "The previous run had a different configuration than the current, which may cause issues." " Please see the log for details or use --clean flag if issues are encountered." ) return clean
Check whether a previous run has any conflicting settings with the current run.
Check whether a previous run has any conflicting settings with the current run .
"""
        Check whether a previous run has any conflicting settings with the current run.

        Returns
        -------
        bool
            Flag for whether the current run is compatible with the previous one
        """
self