lama/registration_pipeline/validate_config.py
def mkdir(self, name, clobber=True) -> Path:
        """
        Get a a path and make the directory as well including parents

        Returns
        -------

        """

        if name in self.options:
            dir_: Path = self.options[name]
            if clobber:
                if dir_.is_dir():
                    shutil.rmtree(dir_)
            dir_.mkdir(exist_ok=True)
        else:
            raise LamaConfigError(f'{name} is not a specified folder')
        return dir_

        Get a a path and make the directory as well including parents

        Returns
        -------

        
Get a a path and make the directory as well including parents
Returns
Get a a path and make the directory as well including parents Returns
def mkdir(self, name, clobber=True) -> Path:
        if name in self.options:
            dir_: Path = self.options[name]
            if clobber:
                if dir_.is_dir():
                    shutil.rmtree(dir_)
            dir_.mkdir(exist_ok=True)
        else:
            raise LamaConfigError(f'{name} is not a specified folder')
        return dir_
def mkdir ( self , name , clobber = True ) -> Path : if name in self . options : dir_ : Path = self . options [ name ] if clobber : if dir_ . is_dir ( ) : shutil . rmtree ( dir_ ) dir_ . mkdir ( exist_ok = True ) else : raise LamaConfigError ( f'{name} is not a specified folder' ) return dir_
Get a a path and make the directory as well including parents
Returns
Get a a path and make the directory as well including parents Returns
"""
        Get a a path and make the directory as well including parents

        Returns
        -------

        """
self
name
clobber