bilby.core.utils.io.check_directory_exists_and_if_not_mkdir

bilby.core.utils.io.check_directory_exists_and_if_not_mkdir(directory)[source]

Checks if the given directory exists and creates it if it does not exist

Parameters:
directory: str

Name of the directory