

def local_backups(local_config):
    if ('backup_dir' not in local_config):
        exit_with_message('Local Settings not configured correctly, expecting "backup_dir"')
    backup_dir = local_config['backup_dir']
    if (not os.path.isdir(backup_dir)):
        exit_with_message('Directory [{}] does not exist.  Exiting ...'.format(backup_dir))
    backups = {
        
    }
    for item in os.listdir(backup_dir):
        backups[item] = os.path.join(backup_dir, item)
    return backups

dataset/ETHPy150Open monarch-org/monarch/monarch/local.py local_backups/original