key = "MNE_DATASETS_BNCI_PATH"
name = "BNCI"
path = _get_path(path, key, name)
destination = _url_to_local_path(url, op.join(path,
"MNE-bnci-data"))
destinations = [destination]
// Fetch the file
if not op.isfile(destination) or force_update:
if op.isfile(destination):
os.remove(destination)
if not op.isdir(op.dirname(destination)):
os.makedirs(op.dirname(destination))
_fetch_file(url, destination, print_destination=False)
// Offer to update the path
_do_path_update(path, update_path, key, name)